.include "instr.inc" .text .global _start _start: copr 0x66 copr 0x64 # 0x539 ld_r0 0x24 copr 0x65 copr 0x64 # 0x4c22 ld_r0 0x8b copr 0x65 copr 0x64 # 0x9e3f ld_r0 0xc9 copr 0x65 copr 0x64 # 0x9610 ld_r0 0xc4 copr 0x65 copr 0x64 # 0x0 ld_r0 0 copr 0x65 copr 0x64 # 0x403d ld_r0 0x80 copr 0x65 copr 0x64 # 0x3021 ld_r0 0x6f copr 0x65 copr 0x64 # 0x1e61 ld_r0 0x58 copr 0x65 ret #loop: # copr 0x64 # brk # Write answer to 0xfb3e # copr 0x65 # cp_r0 1 # jp_ne end # jp loop # #err: # ld_r1 -1 # brk # ret