Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- morten [ ~ ]$ cat testcode.oc
- a=3-3
- b=3+a*5
- c=c()+b
- morten [ ~ ]$ ./compiler < testcode.oc
- push 3
- push 3
- sub
- not
- inc
- store 1
- push 3
- load 1
- push 5
- mul
- add
- store 2
- cpget
- jmp c
- load 2
- add
- store 3
Advertisement
Add Comment
Please, Sign In to add comment