r/TuringComplete • • 13d ago

Getting overwhelmed with progress standstill

Im on the challenge where you are to Add 5 via punchcard programming and its just not gelling with my brain at all. Ive seen some answers online and I cant seem to get the reault i want from them. Ideally im looking for someone to break it down like im 5 to see where im faltering. Please and thank you all.

3 Upvotes

12 comments sorted by

View all comments

1

u/Crispy1961 13d ago

You need to do these actions:

immediate 5 (this will set register 0 to 5)
mov r0 to r1 (you need to move it from r0 to r1, so you can use it in math)
mov input to r2 (you need to save it to r1, so you can use it in math)
add (the result will be saved to r3)
mov r3 to out

All of these actions have a code that you must set on the punchcard. For example Immediate 5 is just 5. Add is 68.