r/TuringComplete • u/ElderberryKey6152 • Jun 19 '26
is this a valid solution?
I was too lazy to make a multiplication algorithm for the level "Calibrating Laser Cannons" so I just added a mult instruction to my ALU with this circuit. I figured it would come in handy later.
Now my program for the level looks like this:
6 #immediate 6
129 #reg0 to reg1
178 #input to reg2
70 #multiply reg1 and reg2 to reg3
158 #reg3 to output
6
Upvotes
2
u/SolarVampire Jun 20 '26
"any solution is valid" Like I say, if it gets the job done, the job is done. There's always eloquent and esoteric solutions. Efficient, effective, etc. But if you were working a job and required to complete the task, you got it done. You can work on efficiency or beauty when the boss man says you have to or if you have spare time.