Closed jmeaster30 closed 8 months ago
this instruction will rotate a section of the stack
top > 1 > 2 > 3 > 4 > 5 rotate 3 top > 3 > 1 > 2 > 4 > 5
rotate 3
Note: rotate 1 is a nop and rotate 2 is the same as swap
rotate 1
rotate 2
This has been done
this instruction will rotate a section of the stack
top > 1 > 2 > 3 > 4 > 5
rotate 3
top > 3 > 1 > 2 > 4 > 5Note:
rotate 1
is a nop androtate 2
is the same as swap