mov pc, 67 mov a, 1 and a, c mov b, 254 add b, c mul a, b mov [h], [g] sub [h], a inc g inc h mov a, 1 and a, c xor a, 1 mov b, 255 add b, c mul a, b mov [h], [g] add [h], a dec g mov b, [h] dec h mov a, [h] int 7 jeq 28, a, 0 inc [4] add h, 2 mov [h], c add h, 2 mov pc, d int 1 mov c, 64 add h, 2 jlt 38, [h], 2 jlt 36, [h], 3 jgt 43, [2], a mov pc, 44 jgt 43, b, [3] mov pc, 44 jlt 41, [h], 1 jgt 43, a, [2] mov pc, 44 jgt 43, [3], b mov pc, 44 mov c, 192 jeq 46, [0], 1 add c, 128 int 3 add a, [h] and a, 1 mul a, 4 sub c, a int 3 add a, [h] and a, 2 sub c, a inc h mov [h], c inc h jgt 62, c, [17] mov [17], c mov [18], h sub [18], 4 mov a, [17] mov b, [18] mov a, a dec g mov pc, d int 3 int 6 mov [0], a mov [1], b int 3 int 5 mov [2], a mov [3], b mov [4], 0 mov g, 2 mov h, 5 mov c, [1] mov d, 81 mov pc, 1 dec c and c, 3 mov d, 85 mov pc, 1 xor c, 2 mov d, 88 mov pc, 1 jgt 93, [4], 0 inc c and c, 3 mov d, 93 mov pc, 1 jgt 96, [4], 1 mov a, [7] hlt mov [17], 255 mov a, [1] mov b, [4] mov c, [7] mov d, [11] mov e, [15] mov f, 0 mov g, 0 mov h, 0 mov a, a mov g, [4] mov h, 5 mov d, 110 mov pc, 29 jgt 109, g, 0 mov h, [18] add h, 2 mov a, [h] int 0 hlt