tinyvm/programs/nop.vm
Joseph Kogut d1f9840393 * Added jump to subroutine functionality
* Added NOP instruction

* Added program demonstrating the usage of the "call" and "ret" instructions

* Added program demonstrating the usafe of the "nop" instruction
2011-08-13 03:13:49 -07:00

7 lines
60 B
Text

mov eax, 0
loop:
nop
inc eax
cmp eax, 1000000
jl loop