Advertisement
TheFastFish

chep

May 5th, 2015
605
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #example assembly
  2. lod r4, 0
  3. lod r5, 0
  4. lod r6, 0x3C
  5. lod r7, 0
  6.  
  7. main:
  8. cls
  9. lod i, 0x400
  10. bcd r5
  11. lod i, 0x400
  12. cpy 2
  13. lod r3, 0
  14. chr r0
  15. drw r3, r4, 5
  16. lod r3, 5
  17. chr r1
  18. drw r3, r4, 5
  19. lod r3, 10
  20. chr r2
  21. drw r3, r4, 5
  22. add r5, 1
  23. lod dt, r6
  24. loop:
  25. lod r7, dt
  26. seq r7, 0
  27. jmp loop
  28. jmp main
  29.  
  30. #example bytecode
  31. 6500
  32. 6400
  33. 663C
  34. 00E0
  35. A400
  36. F533
  37. A400
  38. F265
  39. 6300
  40. F029
  41. D345
  42. 6305
  43. F129
  44. D345
  45. 630A
  46. F229
  47. D345
  48. 7501
  49. F615
  50. F707
  51. 3700
  52. 1226
  53. 1202
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement