MAIN START
- PUSH #0000,GR1 ; #0000
- LAD GR0,#0000 ; #0002
- LD GR1,#0011 ; #0004
- ADDL GR0,GR1 ; #0006
- ADDL GR1,#0013 ; #0007
- CPL GR1,#0012 ; #0009
- JPL #000F ; #000B
- JUMP #0006 ; #000D
- POP GR1 ; #000F
- RET ; #0010
- DC 1 ; #0011
- DC 10 ; #0012
- DC 1 ; #0013
- DC 1 ; #0014
+ PUSH #0000,GR1 ; #0000: #7001 #0000
+ PUSH #0000,GR2 ; #0002: #7002 #0000
+ XOR GR2,GR2 ; #0004: #3622
+ LD GR1,#0015 ; #0005: #1010 #0015
+ ADDL GR2,GR1 ; #0007: #2621
+ ADDL GR1,#0017 ; #0008: #2210 #0017
+ CPL GR1,#0016 ; #000A: #4110 #0016
+ JPL #0010 ; #000C: #6500 #0010
+ JUMP #0007 ; #000E: #6400 #0007
+ ST GR2,#0018 ; #0010: #1120 #0018
+ POP GR2 ; #0012: #7120
+ POP GR1 ; #0013: #7110
+ RET ; #0014: #8100
+ DC 1 ; #0015: #0001 :: 1 = #0001 = 0000000000000001
+ DC 10 ; #0016: #000A :: 10 = #000A = 0000000000001010 = '\n'
+ DC 1 ; #0017: #0001 :: 1 = #0001 = 0000000000000001
+ NOP ; #0018: #0000
END