Skip to content

Instantly share code, notes, and snippets.

@msiemens
Created August 29, 2013 15:18
Show Gist options
  • Save msiemens/6379442 to your computer and use it in GitHub Desktop.
Save msiemens/6379442 to your computer and use it in GitHub Desktop.
MOV [5] 0
JEQ 90 [5] 100
APRINT 46
MOV [8] 0
RANDOM [6]
MOV [2] [6]
MOV [3] 2
MOV [1] 25
JMP 125
MOV [6] [0]
RANDOM [7]
MOV [2] [7]
MOV [3] 2
MOV [1] 41
JMP 125
MOV [7] [0]
MOV [2] [6]
MOV [3] [6]
MOV [1] 55
JMP 105
MOV [6] [0]
MOV [2] [7]
MOV [3] [7]
MOV [1] 69
JMP 105
MOV [7] [0]
ADD [8] [6]
ADD [8] [7]
JGT 85 [8] 144
ADD [9] 1
ADD [5] 1
JMP 3
APRINT 10
DPRINT [9]
APRINT 47
DPRINT 100
APRINT 42
DPRINT 4
JMP 104
HALT
MOV [10] 0
MOV [0] 0
JEQ 123 [3] [10]
ADD [10] 1
ADD [0] [2]
JMP 111
JMP [1]
MOV [0] 0
JLS 140 [2] [3]
ADD [0] 1
SUB [2] [3]
JMP 128
JMP [1]
0x08 0x05 0x00
0x17 0x5A 0x05 0x64
0x21 0x2E
0x08 0x08 0x00
0x09 0x06
0x07 0x02 0x06
0x08 0x03 0x02
0x08 0x01 0x19
0x0F 0x7D
0x07 0x06 0x00
0x09 0x07
0x07 0x02 0x07
0x08 0x03 0x02
0x08 0x01 0x29
0x0F 0x7D
0x07 0x07 0x00
0x07 0x02 0x06
0x07 0x03 0x06
0x08 0x01 0x37
0x0F 0x69
0x07 0x06 0x00
0x07 0x02 0x07
0x07 0x03 0x07
0x08 0x01 0x45
0x0F 0x69
0x07 0x07 0x00
0x0A 0x08 0x06
0x0A 0x08 0x07
0x1F 0x55 0x08 0x90
0x0B 0x09 0x01
0x0B 0x05 0x01
0x0F 0x03
0x21 0x0A
0x22 0x09
0x21 0x2F
0x23 0x64
0x21 0x2A
0x23 0x04
0x0F 0x68
0xFF
0x08 0x0A 0x00
0x08 0x00 0x00
0x15 0x7B 0x03 0x0A
0x0B 0x0A 0x01
0x0A 0x00 0x02
0x0F 0x6F
0x0E 0x01
0x08 0x00 0x00
0x19 0x8C 0x02 0x03
0x0B 0x00 0x01
0x0C 0x02 0x03
0x0F 0x80
0x0E 0x01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment