Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. lda maximum
  2. sta temp
  3. sub denominator
  4. brz 22
  5. lda temp
  6. sub numerator
  7. brz 10
  8. lda temp
  9. sub one
  10. jmp 1
  11. lda result
  12. add one
  13. sta result
  14. lda numerator
  15. sub denominator
  16. sta numerator
  17. sub denominator
  18. brz 19
  19. jmp 0
  20. lda result
  21. add one
  22. sta result
  23. lda result
  24. stp 0
  25. one 1
  26. temp 0
  27. maximum 31
  28. numerator 24
  29. denominator 3
  30. result 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement