- defw l1551h ;1289 51 15 Q .\r
- defb 088h ;128b 88 .\r
- defw l1571h ;128c 71 15 q .\r
- defb 080h ;128e 80 .\r
- defw l15a8h ;128f a8 15 . .\r
- defb 0a0h ;1291 a0 .\r
- defw l1609h ;1292 09 16 . .\r
- defb 040h ;1294 40 @\r
- defw l162dh ;1295 2d 16 - .\r
- defb 0c4h ;1297 c4 .\r
- defw l153bh ;1298 3b 15 ; .\r
- defb 03fh ;129a 3f ?\r
- defw l15a8h ;129b a8 15 . .\r
- defb 0b8h ;129d b8 .\r
- defw l1544h ;129e 44 15 D .\r
- defb 0a9h ;12a0 a9 .\r
- defw l1544h ;12a1 44 15 D .\r
- defb 0b9h ;12a3 b9 .\r
- defw l1544h ;12a4 44 15 D .\r
- defb 0a1h ;12a6 a1 .\r
- defw l1544h ;12a7 44 15 D .\r
- defb 0b1h ;12a9 b1 .\r
- defw l153bh ;12aa 3b 15 ; .\r
- defb 02fh ;12ac 2f /\r
- defw l153bh ;12ad 3b 15 ; .\r
- defb 027h ;12af 27 '\r
- defw l1798h ;12b0 98 17 . .\r
- defb 005h ;12b2 05 .\r
- defw l153bh ;12b3 3b 15 ; .\r
- defb 0f3h ;12b5 f3 .\r
- defw l1699h ;12b6 99 16 . .\r
- defb 010h ;12b8 10 .\r
- defw l153bh ;12b9 3b 15 ; .\r
- defb 0fbh ;12bb fb .\r
- defw l1749h ;12bc 49 17 I .\r
- defb 0e3h ;12be e3 .\r
- defw l153bh ;12bf 3b 15 ; .\r
- defb 0d9h ;12c1 d9 .\r
- defw l153bh ;12c2 3b 15 ; .\r
- defb 076h ;12c4 76 v\r
- defw l16b4h ;12c5 b4 16 . .\r
- defb 046h ;12c7 46 F\r
- defw l16edh ;12c8 ed 16 . .\r
- defb 040h ;12ca 40 @\r
- defw l1798h ;12cb 98 17 . .\r
- defb 004h ;12cd 04 .\r
- defw l1544h ;12ce 44 15 D .\r
- defb 0aah ;12d0 aa .\r
- defw l1544h ;12d1 44 15 D .\r
- defb 0bah ;12d3 ba .\r
- defw l1544h ;12d4 44 15 D .\r
- defb 0a2h ;12d6 a2 .\r
- defw l1544h ;12d7 44 15 D .\r
- defb 0b2h ;12d9 b2 .\r
- defw l1653h ;12da 53 16 S .\r
- defb 0c2h ;12dc c2 .\r
- defw l16a0h ;12dd a0 16 . .\r
- defb 020h ;12df 20\r
- defw l1352h ;12e0 52 13 R .\r
- defb 040h ;12e2 40 @\r
- defw l1544h ;12e3 44 15 D .\r
- defb 0a8h ;12e5 a8 .\r
- defw l1544h ;12e6 44 15 D .\r
- defb 0b8h ;12e8 b8 .\r
- defw l1544h ;12e9 44 15 D .\r
- defb 0a0h ;12eb a0 .\r
- defw l1544h ;12ec 44 15 D .\r
- defb 0b0h ;12ee b0 .\r
- defw l1544h ;12ef 44 15 D .\r
- defb 044h ;12f1 44 D\r
- defw l153bh ;12f2 3b 15 ; .\r
- defb 000h ;12f4 00 .\r
- defw l15a8h ;12f5 a8 15 . .\r
- defb 0b0h ;12f7 b0 .\r
- defw l1544h ;12f8 44 15 D .\r
- defb 0bbh ;12fa bb .\r
- defw l1544h ;12fb 44 15 D .\r
- defb 0b3h ;12fd b3 .\r
- defw l1721h ;12fe 21 17 ! .\r
- defb 041h ;1300 41 A\r
- defw l1544h ;1301 44 15 D .\r
- defb 0abh ;1303 ab .\r
- defw l1544h ;1304 44 15 D .\r
- defb 0a3h ;1306 a3 .\r
- defw l16d9h ;1307 d9 16 . .\r
- defb 0c1h ;1309 c1 .\r
- defw l16d9h ;130a d9 16 . .\r
- defb 0c5h ;130c c5 .\r
- defw l1609h ;130d 09 16 . .\r
- defb 080h ;130f 80 .\r
- defw l1645h ;1310 45 16 E .\r
- defb 0c0h ;1312 c0 .\r
- defw l1544h ;1313 44 15 D .\r
- defb 04dh ;1315 4d M\r
- defw l1544h ;1316 44 15 D .\r
- defb 045h ;1318 45 E\r
- defw l15d5h ;1319 d5 15 . .\r
- defb 010h ;131b 10 .\r
- defw l153bh ;131c 3b 15 ; .\r
- defb 017h ;131e 17 .\r
- defw l15d5h ;131f d5 15 . .\r
- defb 000h ;1321 00 .\r
- defw l153bh ;1322 3b 15 ; .\r
- defb 007h ;1324 07 .\r
- defw l1544h ;1325 44 15 D .\r
- defb 06fh ;1327 6f o\r
- defw l15d5h ;1328 d5 15 . .\r
- defb 018h ;132a 18 .\r
- defw l153bh ;132b 3b 15 ; .\r
- defb 01fh ;132d 1f .\r
- defw l15d5h ;132e d5 15 . .\r
- defb 008h ;1330 08 .\r
- defw l153bh ;1331 3b 15 ; .\r
- defb 00fh ;1333 0f .\r
- defw l1544h ;1334 44 15 D .\r
- defb 067h ;1336 67 g\r
- defw l16cah ;1337 ca 16 . .\r
- defb 0c7h ;1339 c7 .\r
- defw l1551h ;133a 51 15 Q .\r
- defb 098h ;133c 98 .\r
- defw l153bh ;133d 3b 15 ; .\r
- defb 037h ;133f 37 7\r
- defw l1609h ;1340 09 16 . .\r
- defb 0c0h ;1342 c0 .\r
- defw l15d5h ;1343 d5 15 . .\r
- defb 020h ;1345 20\r
- defw l15d5h ;1346 d5 15 . .\r
- defb 028h ;1348 28 (\r
- defw l15d5h ;1349 d5 15 . .\r
- defb 038h ;134b 38 8\r
- defw l15a8h ;134c a8 15 . .\r
- defb 090h ;134e 90 .\r
- defw l15a8h ;134f a8 15 . .\r
- defb 0a8h ;1351 a8 .\r
-\r
-l1352h:\r
- call sub_182eh ;1352 cd 2e 18 . . .\r
+ defw as.ADC_SBC ;ADC 1289 51 15 Q .\r
+ defb 088h ; 128b 88 .\r
+ defw as.ADD ;ADD 128c 71 15 q .\r
+ defb 080h ; 128e 80 .\r
+ defw as.AND_CP_OR_SUB_XOR ;AND 128f a8 15 . .\r
+ defb 0a0h ; 1291 a0 .\r
+ defw as.BITOP ;BIT 1292 09 16 . .\r
+ defb 040h ; 1294 40 @\r
+ defw as.CALL ;CALL 1295 2d 16 - .\r
+ defb 0c4h ; 1297 c4 .\r
+ defw as.opc.noarg ;CCF 1298 3b 15 ; .\r
+ defb 03fh ; 129a 3f ?\r
+ defw as.AND_CP_OR_SUB_XOR ;CP 129b a8 15 . .\r
+ defb 0b8h ; 129d b8 .\r
+ defw gen.opc.ED2 ;CPD 129e 44 15 D .\r
+ defb 0a9h ; 12a0 a9 .\r
+ defw gen.opc.ED2 ;CPDR 12a1 44 15 D .\r
+ defb 0b9h ; 12a3 b9 .\r
+ defw gen.opc.ED2 ;CPI 12a4 44 15 D .\r
+ defb 0a1h ; 12a6 a1 .\r
+ defw gen.opc.ED2 ;CPIR 12a7 44 15 D .\r
+ defb 0b1h ; 12a9 b1 .\r
+ defw as.opc.noarg ;CPL 12aa 3b 15 ; .\r
+ defb 02fh ; 12ac 2f /\r
+ defw as.opc.noarg ;DAA 12ad 3b 15 ; .\r
+ defb 027h ; 12af 27 '\r
+ defw as.DEC_INC ;DEC 12b0 98 17 . .\r
+ defb 005h ; 12b2 05 .\r
+ defw as.opc.noarg ;DI 12b3 3b 15 ; .\r
+ defb 0f3h ; 12b5 f3 .\r
+ defw as.DJNZ ;DJNZ 12b6 99 16 . .\r
+ defb 010h ; 12b8 10 .\r
+ defw as.opc.noarg ;EI 12b9 3b 15 ; .\r
+ defb 0fbh ; 12bb fb .\r
+ defw as.EX ;EX 12bc 49 17 I .\r
+ defb 0e3h ; 12be e3 .\r
+ defw as.opc.noarg ;EXX 12bf 3b 15 ; .\r
+ defb 0d9h ; 12c1 d9 .\r
+ defw as.opc.noarg ;HALT 12c2 3b 15 ; .\r
+ defb 076h ; 12c4 76 v\r
+ defw as.IM ;IM 12c5 b4 16 . .\r
+ defb 046h ; 12c7 46 F\r
+ defw as.IN ;IN 12c8 ed 16 . .\r
+ defb 040h ; 12ca 40 @\r
+ defw as.DEC_INC ;INC 12cb 98 17 . .\r
+ defb 004h ; 12cd 04 .\r
+ defw gen.opc.ED2 ;IND 12ce 44 15 D .\r
+ defb 0aah ; 12d0 aa .\r
+ defw gen.opc.ED2 ;INDR 12d1 44 15 D .\r
+ defb 0bah ; 12d3 ba .\r
+ defw gen.opc.ED2 ;INI 12d4 44 15 D .\r
+ defb 0a2h ; 12d6 a2 .\r
+ defw gen.opc.ED2 ;INIR 12d7 44 15 D .\r
+ defb 0b2h ; 12d9 b2 .\r
+ defw as.JP ;JP 12da 53 16 S .\r
+ defb 0c2h ; 12dc c2 .\r
+ defw as.JR ;JR 12dd a0 16 . .\r
+ defb 020h ; 12df 20\r
+ defw as.LD ;LD 12e0 52 13 R .\r
+ defb 040h ; 12e2 40 @\r
+ defw gen.opc.ED2 ;LDD 12e3 44 15 D .\r
+ defb 0a8h ; 12e5 a8 .\r
+ defw gen.opc.ED2 ;LDDR 12e6 44 15 D .\r
+ defb 0b8h ; 12e8 b8 .\r
+ defw gen.opc.ED2 ;LDI 12e9 44 15 D .\r
+ defb 0a0h ; 12eb a0 .\r
+ defw gen.opc.ED2 ;LDIR 12ec 44 15 D .\r
+ defb 0b0h ; 12ee b0 .\r
+ defw gen.opc.ED2 ;NEG 12ef 44 15 D .\r
+ defb 044h ; 12f1 44 D\r
+ defw as.opc.noarg ;NOP 12f2 3b 15 ; .\r
+ defb 000h ; 12f4 00 .\r
+ defw as.AND_CP_OR_SUB_XOR ;OR 12f5 a8 15 . .\r
+ defb 0b0h ; 12f7 b0 .\r
+ defw gen.opc.ED2 ;OTDR 12f8 44 15 D .\r
+ defb 0bbh ; 12fa bb .\r
+ defw gen.opc.ED2 ;OTIR 12fb 44 15 D .\r
+ defb 0b3h ; 12fd b3 .\r
+ defw as.OUT ;OUT 12fe 21 17 ! .\r
+ defb 041h ; 1300 41 A\r
+ defw gen.opc.ED2 ;OUTD 1301 44 15 D .\r
+ defb 0abh ; 1303 ab .\r
+ defw gen.opc.ED2 ;OUTI 1304 44 15 D .\r
+ defb 0a3h ; 1306 a3 .\r
+ defw as.POP_PUSH ;POP 1307 d9 16 . .\r
+ defb 0c1h ; 1309 c1 .\r
+ defw as.POP_PUSH ;PUSH 130a d9 16 . .\r
+ defb 0c5h ; 130c c5 .\r
+ defw as.BITOP ;RES 130d 09 16 . .\r
+ defb 080h ; 130f 80 .\r
+ defw as.RET ;RET 1310 45 16 E .\r
+ defb 0c0h ; 1312 c0 .\r
+ defw gen.opc.ED2 ;RETI 1313 44 15 D .\r
+ defb 04dh ; 1315 4d M\r
+ defw gen.opc.ED2 ;RETN 1316 44 15 D .\r
+ defb 045h ; 1318 45 E\r
+ defw as.SHIFTOP ;RL 1319 d5 15 . .\r
+ defb 010h ; 131b 10 .\r
+ defw as.opc.noarg ;RLA 131c 3b 15 ; .\r
+ defb 017h ; 131e 17 .\r
+ defw as.SHIFTOP ;RLC 131f d5 15 . .\r
+ defb 000h ; 1321 00 .\r
+ defw as.opc.noarg ;RLCA 1322 3b 15 ; .\r
+ defb 007h ; 1324 07 .\r
+ defw gen.opc.ED2 ;RLD 1325 44 15 D .\r
+ defb 06fh ; 1327 6f o\r
+ defw as.SHIFTOP ;RR 1328 d5 15 . .\r
+ defb 018h ; 132a 18 .\r
+ defw as.opc.noarg ;RRA 132b 3b 15 ; .\r
+ defb 01fh ; 132d 1f .\r
+ defw as.SHIFTOP ;RRC 132e d5 15 . .\r
+ defb 008h ; 1330 08 .\r
+ defw as.opc.noarg ;RRCA 1331 3b 15 ; .\r
+ defb 00fh ; 1333 0f .\r
+ defw gen.opc.ED2 ;RRD 1334 44 15 D .\r
+ defb 067h ; 1336 67 g\r
+ defw as.RST ;RST 1337 ca 16 . .\r
+ defb 0c7h ; 1339 c7 .\r
+ defw as.ADC_SBC ;SBC 133a 51 15 Q .\r
+ defb 098h ; 133c 98 .\r
+ defw as.opc.noarg ;SCF 133d 3b 15 ; .\r
+ defb 037h ; 133f 37 7\r
+ defw as.BITOP ;SET 1340 09 16 . .\r
+ defb 0c0h ; 1342 c0 .\r
+ defw as.SHIFTOP ;SLA 1343 d5 15 . .\r
+ defb 020h ; 1345 20\r
+ defw as.SHIFTOP ;SRA 1346 d5 15 . .\r
+ defb 028h ; 1348 28 (\r
+ defw as.SHIFTOP ;SRL 1349 d5 15 . .\r
+ defb 038h ; 134b 38 8\r
+ defw as.AND_CP_OR_SUB_XOR ;SUB 134c a8 15 . .\r
+ defb 090h ; 134e 90 .\r
+ defw as.AND_CP_OR_SUB_XOR ;XOR 134f a8 15 . .\r
+ defb 0a8h ; 1351 a8 .\r
+\r
+ defw as.IN0 ;IN0\r
+ defb 000h ;\r
+ defw as.MLT ;MLT\r
+ defb 04ch ;\r
+ defw gen.opc.ED2 ;OTDM\r
+ defb 08bh ;\r
+ defw gen.opc.ED2 ;OTDMR\r
+ defb 09bh ;\r
+ defw gen.opc.ED2 ;OTIM\r
+ defb 083h ;\r
+ defw gen.opc.ED2 ;OTIMR\r
+ defb 093h ;\r
+ defw as.OUTO ;OUT0\r
+ defb 001h ;\r
+ defw gen.opc.ED2 ;SLP\r
+ defb 076h ;\r
+ defw as.TST ;TST\r
+ defb 004h ;\r
+ defw as.TSTIO ;TSTIO\r
+ defb 074h ;\r
+\r
+as.TST:\r
+ call arg.r_HL_A ;\r
+ jr nc,as.tst_0\r
+ rlca\r
+ rlca\r
+ rlca\r
+ add a,b\r
+ ld b,a\r
+ jp gen.opc.ED2\r
+as.tst_0:\r
+ ld b,064h\r
+as.TSTIO:\r
+ call arg.imm_8bit ;\r
+ jr as.store_io0\r
+\r
+as.IN0:\r
+ call arg.r_HL_A ;\r
+ jr nc,error7\r
+ cp 006h\r
+ jr z,error7\r
+ rlca\r
+ rlca\r
+ rlca\r
+ add a,b\r
+ ld b,a\r
+ call assert_comma ;\r
+ call arg.addr_8bit ;\r
+ jr as.store_io0\r
+\r
+as.OUTO:\r
+ call arg.addr_8bit ;\r
+ call assert_comma ;\r
+ call arg.r_HL_A ;\r
+ jr nc,error7\r
+ cp 006h\r
+ jr z,error7\r
+ rlca\r
+ rlca\r
+ rlca\r
+ add a,b\r
+ ld b,a\r
+\r
+as.store_io0:\r
+ call assert_eol\r
+ ld (iy+000h),0edh\r
+ ld (iy+001h),b\r
+ ld (iy+002h),l\r
+ ld c,003h\r
+ ret\r
+\r
+as.MLT:\r
+ call arg.ww ;\r
+ jr nc,error7\r
+ add a,b\r
+ ld b,a\r
+ jp gen.opc.ED2\r
+\r
+error7:\r
+ jp ERROR\r
+\r
+as.LD:\r
+ call arg.r_HL_A ;1352 cd 2e 18 . . .\r