Factorial: Difference between revisions

Content deleted Content added
Light (talk | contribs)
Light (talk | contribs)
Line 1,249:
noop
pointer
duplicate // the next op is back at label a
 
push 1 // this part continues from pointer 1
noop
push 2 // label b
push 1
rot 1 2
duplicate
not
pointer // pointer 2
multiply
push 3
Line 1,267:
push 3
pointer
pointer // back at label b
 
pop // continues from pointer 2
out(number)
exit
</lang>