Custopootimus

FibMIC

Sep 12th, 2013
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. ;CELL HVAL CMD OP Comment
  2. 0000 7005 LOAD 0005 Load 5 into AC, where 6 is the start cell of the lookup table
  3. 0001 2003 ADDD 0003 Add the target 'nth' to the offset
  4. 0002 1003 STOD 0003 Store the AC into the next cell
  5. 0003 NFIB ---- NFIB Input/Output, also used in previous SMC as a load command for lookup table.
  6. 0004 1003 STOD 0003 Store the result into cell 0003
  7. 0005 6005 JUMP 0005 Terminate by looping infinitely.
  8. 0006 0000 --BEGIN LOOKUP TABLE--
  9. 0007 0001
  10. 0008 0001
  11. 0009 0002
  12. 000A 0003
  13. 000B 0005
  14. 000C 0008
  15. 000D 000D
  16. 000E 0015
  17. 000F 0022
  18. 0010 0037
  19. 0011 0059
  20. 0012 0090
  21. 0013 00E9
  22. 0014 0179
  23. 0015 0262
  24. 0016 03DB
  25. 0017 063D --END LOOKUP TABLE--
Advertisement
Add Comment
Please, Sign In to add comment