primes.out 936 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Datasize: 5 Strings: 3
  2. " is prime\n"
  3. "Total primes found: "
  4. "\n"
  5. 0 push 1
  6. 5 store [0]
  7. 10 push 1
  8. 15 store [1]
  9. 20 push 100
  10. 25 store [2]
  11. 30 fetch [1]
  12. 35 fetch [2]
  13. 40 lt
  14. 41 jz (160) 202
  15. 46 push 3
  16. 51 store [3]
  17. 56 push 1
  18. 61 store [4]
  19. 66 fetch [1]
  20. 71 push 2
  21. 76 add
  22. 77 store [1]
  23. 82 fetch [3]
  24. 87 fetch [3]
  25. 92 mul
  26. 93 fetch [1]
  27. 98 le
  28. 99 fetch [4]
  29. 104 and
  30. 105 jz (53) 159
  31. 110 fetch [1]
  32. 115 fetch [3]
  33. 120 div
  34. 121 fetch [3]
  35. 126 mul
  36. 127 fetch [1]
  37. 132 ne
  38. 133 store [4]
  39. 138 fetch [3]
  40. 143 push 2
  41. 148 add
  42. 149 store [3]
  43. 154 jmp (-73) 82
  44. 159 fetch [4]
  45. 164 jz (32) 197
  46. 169 fetch [1]
  47. 174 prti
  48. 175 push 0
  49. 180 prts
  50. 181 fetch [0]
  51. 186 push 1
  52. 191 add
  53. 192 store [0]
  54. 197 jmp (-168) 30
  55. 202 push 1
  56. 207 prts
  57. 208 fetch [0]
  58. 213 prti
  59. 214 push 2
  60. 219 prts
  61. 220 halt