Guest User

Untitled

a guest
Jun 4th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. morten [ ~ ]$ cat testcode.oc
  2. a=3-3
  3. b=3+a*5
  4. c=c()+b
  5. morten [ ~ ]$ ./compiler < testcode.oc
  6. push 3
  7. push 3
  8. sub
  9. not
  10. inc
  11. store 1
  12. push 3
  13. load 1
  14. push 5
  15. mul
  16. add
  17. store 2
  18. cpget
  19. jmp c
  20. load 2
  21. add
  22. store 3
Advertisement
Add Comment
Please, Sign In to add comment