This program makes good use of loop and some maths with the binary adder halving each time the location moves to the right, until recently I would have used 8 if/then against 128,64 ... etc.
Next target is to understand over.
A clapped out Honda civic :-)
OVER just *copies* the second value on the stack to the top.
So if you did:
7 8 9 over
You would this on the stack:
7 8 9 8
So a copy of the 8 jumped "over" the 9.
Hope this helps.
Mark
OVER just *copies* the second value on the stack to the top.
So if you did:
7 8 9 over
You would this on the stack:
7 8 9 8
So a copy of the 8 jumped "over" the 9.
Hope this helps.
Mark
A clapped out Honda civic :-)