first commit of the recode
70% of the code was re-writter from scratch
This commit is contained in:
16
examples/test.pasm
Normal file
16
examples/test.pasm
Normal file
@@ -0,0 +1,16 @@
|
||||
iterate:
|
||||
add a1, 1
|
||||
cmp a1, 42
|
||||
jne iterate
|
||||
ret
|
||||
|
||||
test:
|
||||
push a
|
||||
push 1
|
||||
call put
|
||||
ret
|
||||
|
||||
main:
|
||||
mov a1, 0
|
||||
jmp iterate
|
||||
jmp test
|
||||
Reference in New Issue
Block a user