From 0c7549030622b1f64b215253ea4c3592e092054b Mon Sep 17 00:00:00 2001 From: sejo Date: Tue, 17 Aug 2021 19:16:41 -0500 Subject: [PATCH] added NIP instruction --- src/uxn_tutorial.gmo | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uxn_tutorial.gmo b/src/uxn_tutorial.gmo index 247fc40..ad31ac9 100644 --- a/src/uxn_tutorial.gmo +++ b/src/uxn_tutorial.gmo @@ -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 -- ) * 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 ) +* 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 ) * 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 )