Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;CELL HVAL CMD OP Comment
- 0000 7005 LOAD 0005 Load 5 into AC, where 6 is the start cell of the lookup table
- 0001 2003 ADDD 0003 Add the target 'nth' to the offset
- 0002 1003 STOD 0003 Store the AC into the next cell
- 0003 NFIB ---- NFIB Input/Output, also used in previous SMC as a load command for lookup table.
- 0004 1003 STOD 0003 Store the result into cell 0003
- 0005 6005 JUMP 0005 Terminate by looping infinitely.
- 0006 0000 --BEGIN LOOKUP TABLE--
- 0007 0001
- 0008 0001
- 0009 0002
- 000A 0003
- 000B 0005
- 000C 0008
- 000D 000D
- 000E 0015
- 000F 0022
- 0010 0037
- 0011 0059
- 0012 0090
- 0013 00E9
- 0014 0179
- 0015 0262
- 0016 03DB
- 0017 063D --END LOOKUP TABLE--
Advertisement
Add Comment
Please, Sign In to add comment