added NIP instruction
This commit is contained in:
parent
486b9b4d53
commit
0c75490306
|
@ -82,6 +82,7 @@ this is a summary of the uxn instructions covered in each day of the tutorial.
|
||||||
* POP: Remove top element from the stack ( a -- )
|
* POP: Remove top element from the stack ( a -- )
|
||||||
* DUP: Duplicate; push a copy of the top element ( a -- a a )
|
* DUP: Duplicate; push a copy of the top element ( a -- a a )
|
||||||
* SWP: Swap; change the order of the top two elements of the stack ( a b -- b a )
|
* SWP: Swap; change the order of the top two elements of the stack ( a b -- b a )
|
||||||
|
* NIP: Remove the top second element of the stack ( a b -- b )
|
||||||
* OVR: Over; push a copy of the second top element ( a b -- a b a )
|
* OVR: Over; push a copy of the second top element ( a b -- a b a )
|
||||||
* ROT: Rotate; reorder the top three elements of the stack so that the third one is now at the top ( a b c -- b c a )
|
* ROT: Rotate; reorder the top three elements of the stack so that the third one is now at the top ( a b c -- b c a )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue