Skip to content

Instantly share code, notes, and snippets.

@faried
Created April 4, 2012 14:32
Show Gist options
  • Save faried/2301816 to your computer and use it in GitHub Desktop.
Save faried/2301816 to your computer and use it in GitHub Desktop.
output
0x00 SET A 0x30
0x02 SET [0x1000] 0x20
0x05 SUB A [0x1000]
0x07 IFN A 0x10
0x08 SET PC 0x1a
0x0A SET I 0xa
0x0B SET A 0x2000
0x0D SET [0x2000 + I] [A]
0x0F SUB I 0x1
0x10 IFN I 0x0
0x11 SET PC 0xd
0x13 SET X 0x4
0x14 JSR 0x18
0x16 SET PC 0x1a
0x18 SHL X 0x4
0x19 SET PC POP
0x1A SET PC 0x1a
0x1C 0000
0x1D 0000
0x1E 0000
0x1F 0000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment