X-Git-Url: http://git.subgeniuskitty.com/vvhitespace/.git/blobdiff_plain/6e942bd8524e9393f61a0358a0282b2641f9d3d7..665e21b4427f40fd8317001b144be66b313955e8:/tests/1003_stack_swap.pvvs diff --git a/tests/1003_stack_swap.pvvs b/tests/1003_stack_swap.pvvs new file mode 100644 index 0000000..9e18a9f --- /dev/null +++ b/tests/1003_stack_swap.pvvs @@ -0,0 +1,8 @@ +# This test verifies stack IMP swap. + +SSSTSSSSSTN | ST: Push +65 (ASCII A) +SSSTSSSSTSN | ST: Push +66 (ASCII B) +SNT | ST: Swap TOS and NOS +TNSS | IO: Output character +TNSS | IO: Output character +NNN | FC: Terminate program