Home » Personal collection » Acorn hard disk » apps » Emulators » !Spectrum/PCSNAPS/SPECUT~1/Z80DISS
!Spectrum/PCSNAPS/SPECUT~1/Z80DISS
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
| Tape/disk: | Home » Personal collection » Acorn hard disk » apps » Emulators |
| Filename: | !Spectrum/PCSNAPS/SPECUT~1/Z80DISS |
| Read OK: | ✔ |
| File size: | 8DE8 bytes |
| Load address: | 0000 |
| Exec address: | 0000 |
File contents
10REM**************************************************************
20REM BASIC Z80 Dissasembler
30REM
40REM Originally written by Kevin J Phai 1992
50REM as part of The PC Spectrum EMULATOR Package.
60REM
70REM**************************************************************
80 version$ = "1.00"
90REM**************************************************************
100REM Ported to Archimedes from DOS BASIC by M.Perigo 2-SEP-93
110REM
120REM A highly inefficient way of going about things, (a z80
130REM disassembler in native code can be fitted into less than
140REM 1k) but I was in desperate need for a Z80 Dissasembler
150REM and this method works so it will do fine for me.
160REM**************************************************************
170
180CLOSE#0
190ON ERROR PROCerror
200CLS
210PRINT " BASIC Z80 Dissasembler v";version$
220PRINT " ======================"
230PRINT
240
250a$="adfs::IDE5.$.SPECTRUM.!Spectrum.x"
260REMa$="adfs::IDE5.$.SPECTRUM.!Spectrum.Roms.Spectrum":REM!!INPUT "What is the input filename ";a$
270infile% = OPENIN(a$)
280PRINT "Disassembling the file ";a$
290
300
310pcofs=-256:REM!!!INPUT "What is the memory offset for this file ";pcofs
320PRINT"This file includes a memory offset of ";pcofs
330
340opt%=0
350q$="y":a$="adfs::IDE5.$.SPECTRUM.!Spectrum.xdis"
360REMIF q$="y" THEN opt%=1:INPUT "File to direct to ",a$:outfile% = OPENOUT a$
370IF q$="y" THEN opt%=1:outfile% = OPENOUT a$
380
390
400PROChelp
410IF opt%=1 THEN
420 BPUT#outfile%,"Disassembly of the file "+a$
430 BPUT#outfile%,TIME$
440 BPUT#outfile%," "
450 BPUT#outfile%,"Addr. OpCodes Assembler"
460 out$="----- -------------------- -----------------------------"
470ENDIF
480
490
500pc=0
510pc=23760-pcofs: REM 1st line of BASIC program in spectrum
511
520PTR#infile%=pc
530
540REM **** disasm.more
550IF opt%=1 THEN BPUT#outfile%,out$:out$=""
560a$=CHR$BGET#infile% :REM pc + 1
570o% = ASC(a$)
580PRINT RIGHT$("00000"+STR$(pc+pcofs),5); TAB(8);:PRINT FNusing("###",o%);
590IF opt%=1 THEN out$=out$+RIGHT$("00000"+STR$(pc+pcofs),5)+" "+FNusing("###",o%)
600pc = pc + 1
610IF o%=203 THEN GOTO 1590 :REM cb.decode
620IF o%=221 THEN GOTO 1850 :REM ix.decode
630IF o%=237 THEN GOTO 1710 :REM ed.decode
640IF o%=253 THEN GOTO 2430 :REM iy.decode
650RESTORE 3610
660FOR f%=0 TO o%: READ d$: NEXT f%
670IF INSTR(d$, "NN") THEN GOTO 1080 :REM embword0
680IF INSTR(d$, "N") THEN GOTO 1300 :REM embbyte0
690IF INSTR(d$, "DIS") THEN GOTO 1450 :REM embdisp0
700
710REM **** prdis
720PRINT TAB(31);FNucase(d$)
730IF opt%=1 THEN
740 REPEAT
750 out$=out$+" "
760 UNTIL LEN(out$)>29
770 out$=out$+FNucase(d$)
780ENDIF
790
800i$=GET$
810IF i$="b" OR i$="B" THEN
820 IF pc >0 THEN pc=pc-1 ELSE PRINT'" *** At start of file ***"
830 PTR#infile%=pc
840 PRINT pc+pcofs
850ENDIF
860IF i$="b" OR i$="B" THEN GOTO 800
870
880IF i$="c" OR i$="C" THEN
890 PRINT
900 INPUT "Enter expression ... ",calc$
910 PRINT'calc$;" = ";EVAL(calc$);" (";STR$~EVAL(calc$);" in hex)"
920 PRINT
930ENDIF
940IF i$="m" OR i$="M" THEN
950 PRINT
960 INPUT "New location to disassemble from ",pc$
970 pc=EVAL(pc$)-pcofs:IF pc<0 THEN pc=0:PRINT'" *** At start of file ***"
980 PTR#infile%=pc
990 PRINT
1000ENDIF
1010IF EOF#infile% THEN CLOSE#0:STOP
1020IF i$="h" OR i$="H" THEN PROChelp
1030IF i$="q" OR i$="Q" THEN CLOSE#0:STOP
1040GOTO 540 :REM disasm.more
1050
1060
1070
1080REM **** embword0
1090a$=CHR$BGET#infile% :REM pc + 1:
1100lo = ASC(a$)
1110a$=CHR$BGET#infile% :REM pc + 2:
1120hi = ASC(a$):PRINT ",";
1130PRINT FNusing("###",lo);
1140PRINT ",";
1150PRINT FNusing("###",hi);
1160IF opt%=1 THEN
1170out$=out$+","+FNusing("###",lo)
1180out$=out$+",":out$=out$+FNusing("###",hi)
1190ENDIF
1200eword = (hi * 256 + lo)
1210t$=LEFT$(d$, INSTR(d$, "NN") - 1)
1220t$=t$+RIGHT$(STR$(eword), 5)
1230t$=t$+MID$(d$, INSTR(d$, "NN") + 2, 10)
1240pc = pc + 2
1250d$=t$
1260GOTO 710 :REM prdis
1270
1280
1290
1300REM **** embbyte0
1310a$=CHR$BGET#infile% :REM pc + 1
1320ebyte = ASC(a$)
1330PRINT ",";
1340PRINT FNusing("###",ebyte);
1350IF opt%=1 THEN out$=out$+","+FNusing("###",ebyte)
1360t$=MID$(d$,1,INSTR(d$,"N")-1)
1370t$=t$+RIGHT$(STR$(ebyte), 3)
1380t$=t$+MID$(d$,INSTR(d$, "N") + 1, 10)
1390pc = pc + 1
1400d$=t$
1410GOTO 710 :REM prdis
1420
1430
1440
1450REM **** embdisp0
1460a$=CHR$BGET#infile% :REM pc + 1
1470edisp = ASC(a$)
1480IF edisp > 127 THEN edisp = edisp - 256
1490PRINT ",";:PRINT FNusing("###",ASC(a$));
1500IF opt%=1 THEN out$=out$+","+FNusing("###",ASC(a$))
1510t$=MID$(d$,1,INSTR(d$,"DIS")-1)
1520t$=t$+STR$(edisp)+" >"+STR$(pc+1+edisp+pcofs)
1530pc = pc + 1
1540d$=t$
1550GOTO 710 :REM prdis
1560
1570
1580
1590REM **** cb.decode
1600a$=CHR$BGET#infile% :REM pc + 1
1610o% = ASC(a$)
1620PRINT ",";:PRINT FNusing("###",o%);
1630IF opt%=1 THEN out$=out$+","+FNusing("###",o%)
1640RESTORE 6220
1650FOR f%=0 TO o%: READ d$: NEXT f%
1660pc = pc + 1
1670GOTO 710 :REM prdis
1680
1690
1700
1710REM **** ed.decode
1720a$=CHR$BGET#infile% :REM pc + 1
1730o% = ASC(a$)
1740PRINT ",";:PRINT FNusing("###",o%);
1750IF opt%=1 THEN out$=out$+","+FNusing("###",o%)
1760RESTORE 8830
1770FOR f%=0 TO o%: READ d$: NEXT f%
1780pc = pc + 1
1790IF INSTR(d$, "NN") THEN GOTO 1080 :REM embword0
1800IF INSTR(d$, "N") THEN GOTO 1300 :REM embbyte0
1810GOTO 710 :REM prdis
1820
1830
1840
1850REM **** ix.decode
1860a$=CHR$BGET#infile% :REM pc + 1
1870o% = ASC(a$)
1880PRINT ",";:PRINT FNusing("###",o%);
1890IF opt%=1 THEN out$=out$+","+FNusing("###",o%)
1900IF o%=203 THEN GOTO 2150 :REM ixcb.decode
1910RESTORE 11440
1920FOR f%=0 TO o%: READ d$: NEXT f%
1930pc = pc + 1
1940IF INSTR(d$,"IDS") THEN
1950a$=CHR$BGET#infile% :REM pc + 1
1960edisp = ASC(a$)
1970IF edisp > 127 THEN edisp = edisp - 256
1980PRINT ",";:PRINT FNusing("###",ASC(a$));
1990IF opt%=1 THEN out$=out$+","+FNusing("###",ASC(a$))
2000t$=MID$(d$,1,INSTR(d$,"IDS")-1)
2010ed$=STR$(edisp)
2020IF edisp>0 THEN ed$="+"+MID$(STR$(edisp),2,3)
2030IF edisp=0 THEN ed$=""
2040t$=t$+ed$
2050t$=t$+MID$(d$,INSTR(d$,"IDS") + 3, 10)
2060d$=t$
2070pc = pc + 1
2080ENDIF
2090IF INSTR(d$, "NN") THEN GOTO 1080 :REM embword0
2100IF INSTR(d$, "N") THEN GOTO 1300 :REM embbyte0
2110GOTO 710 :REM prdis
2120
2130
2140
2150REM **** ixcb.decode
2160pc=pc+1
2170a$=CHR$BGET#infile% :REM pc + 2
2180o% = ASC(a$)
2190PRINT ",";:PRINT FNusing("###",o%);
2200IF opt%=1 THEN out$=out$+","+FNusing("###",o%)
2210RESTORE 14050
2220FOR f%=0 TO o%: READ d$: NEXT f%
2230pc = pc + 1
2240IF INSTR(d$,"IDS") THEN
2250a$=CHR$BGET#infile% :REM pc
2260edisp = ASC(a$)
2270IF edisp > 127 THEN edisp = edisp - 256
2280PRINT ",";:PRINT FNusing("###",ASC(a$));
2290IF opt%=1 THEN out$=out$+","+FNusing("###",ASC(a$))
2300t$=MID$(d$,1,INSTR(d$,"IDS")-1)
2310ed$=STR$(edisp)
2320IF edisp>0 THEN ed$="+"+MID$(STR$(edisp),2,3)
2330IF edisp=0 THEN ed$=""
2340t$=t$+ed$
2350t$=t$+MID$(d$,INSTR(d$,"IDS") + 3, 10)
2360d$=t$
2370pc = pc + 1
2380ENDIF
2390GOTO 710 :REM prdis
2400
2410
2420
2430REM **** iy.decode
2440a$=CHR$BGET#infile% :REM pc + 1
2450o% = ASC(a$)
2460PRINT ",";:PRINT FNusing("###",o%);
2470IF opt%=1 THEN out$=out$+","+FNusing("###",o%)
2480IF o%=203 THEN GOTO 2730 :REM iycb.decode
2490RESTORE 16660
2500FOR f%=0 TO o%: READ d$: NEXT f%
2510pc = pc + 1
2520IF INSTR(d$,"IDS") THEN
2530a$=CHR$BGET#infile% :REM pc + 1
2540edisp = ASC(a$)
2550IF edisp > 127 THEN edisp = edisp - 256
2560PRINT ",";:PRINT FNusing("###",ASC(a$));
2570IF opt%=1 THEN out$=out$+","+FNusing("###",ASC(a$))
2580t$=MID$(d$,1,INSTR(d$,"IDS")-1)
2590ed$=STR$(edisp)
2600IF edisp>0 THEN ed$="+"+MID$(STR$(edisp),2,3)
2610IF edisp=0 THEN ed$=""
2620t$=t$+ed$
2630t$=t$+MID$(d$,INSTR(d$,"IDS") + 3, 10)
2640d$=t$
2650pc = pc + 1
2660ENDIF
2670IF INSTR(d$, "NN") THEN GOTO 1080 :REM embword0
2680IF INSTR(d$, "N") THEN GOTO 1300 :REM embbyte0
2690GOTO 710 :REM prdis
2700
2710
2720
2730REM **** iycb.decode
2740pc=pc+1
2750a$=CHR$BGET#infile% :REM pc + 2
2760o% = ASC(a$)
2770PRINT ",";:PRINT FNusing("###",o%);
2780IF opt%=1 THEN out$=out$+","+FNusing("###",o%)
2790RESTORE 19270
2800FOR f%=0 TO o%: READ d$: NEXT f%
2810pc=pc+1
2820IF INSTR(d$,"IDS") THEN
2830a$=CHR$(BGET#infile%):REM pc
2840edisp = ASC(a$)
2850IF edisp > 127 THEN edisp = edisp - 256
2860PRINT ",";:PRINT FNusing("###",ASC(a$));
2870IF opt%=1 THEN out$=out$+","+FNusing("###",ASC(a$))
2880t$=MID$(d$,1,INSTR(d$,"IDS")-1)
2890ed$=STR$(edisp)
2900IF edisp>0 THEN ed$="+"+MID$(STR$(edisp),2,3)
2910IF edisp=0 THEN ed$=""
2920t$=t$+ed$
2930t$=t$+MID$(d$,INSTR(d$,"IDS") + 3, 10)
2940d$=t$
2950pc = pc + 1
2960ENDIF
2970GOTO 710 :REM prdis
2980
2990
3000::
3010
3020
3030DEF PROChelp
3040PRINT ''
3050PRINT " Press ""H"" or ""h"" for this help text "
3060PRINT " Press ""B"" or ""b"" to step back one location"
3070PRINT " Press ""C"" or ""c"" to perform a calculation"
3080PRINT " Press ""M"" or ""m"" to start at a new location"
3090PRINT " Press ""Q"" or ""q"" to quit"
3100PRINT " Press any other key to continue disassembly"
3110PRINT '
3120PRINT " Whenever prompted for a numerical input you may"
3130PRINT " use any valid expression such as &123F + 456"
3140PRINT''
3150PRINT "Addr. OpCodes Assembler"
3160PRINT "----- -------------------- -----------------------------"
3170ENDPROC
3180
3190
3200::
3210
3220
3230DEF FNusing(mask$,n)
3240n$=STRING$(LEN(mask$)," ")+STR$(n)
3250= RIGHT$(n$,LEN(mask$))
3260
3270
3280::
3290
3300
3310DEF FNucase(d$)
3320LOCAL x%,x$
3330x$=""
3340FOR L%=1 TO LEN(d$)
3350REM try using the next line instead of the following 3 if you want to see an interesting effect. If anyone knows why this should be then please let me in on the secret!!!
3360REM x$=x$+(CHR$(ASC(MID$(d$,L%,1)) AND %11011111))
3370x% = ASC(MID$(d$,L%,1))
3380IF x%>96 AND x%<123 THEN x%=x%-32 :REM x%=x% AND %11011111
3390x$=x$+CHR$(x%)
3400NEXT
3410=x$
3420
3430
3440::
3450
3460
3470DEF PROCerror
3480 ON ERROR OFF
3490 REPORT:PRINT " at line ";ERL
3500 CLOSE#0:END
3510ENDPROC
3520
3530
3540::
3550
3560
3570REM =======================================
3580REM disasm.more
3590REM =======================================
3600
3610DATA "nop"
3620DATA "ld bc,NN"
3630DATA "ld (bc),a"
3640DATA "inc bc"
3650DATA "inc b"
3660DATA "dec b"
3670DATA "ld b,N"
3680DATA "rlca"
3690DATA "ex af,af'"
3700DATA "add hl,bc"
3710DATA "ld a,(bc)"
3720DATA "dec bc"
3730DATA "inc c"
3740DATA "dec c"
3750DATA "ld c,N"
3760DATA "rrca"
3770DATA "djnz DIS"
3780DATA "ld de,NN"
3790DATA "ld (de),a"
3800DATA "inc de"
3810DATA "inc d"
3820DATA "dec d"
3830DATA "ld d,N"
3840DATA "rla"
3850DATA "jr DIS"
3860DATA "add hl,de"
3870DATA "ld a,(de)"
3880DATA "dec de"
3890DATA "inc e"
3900DATA "dec e"
3910DATA "ld e,N"
3920DATA "rra"
3930DATA "jr nz,DIS"
3940DATA "ld hl,NN"
3950DATA "ld (NN),hl"
3960DATA "inc hl"
3970DATA "inc h"
3980DATA "dec h"
3990DATA "ld h,N"
4000DATA "daa"
4010DATA "jr z,DIS"
4020DATA "add hl,hl"
4030DATA "ld hl,(NN)"
4040DATA "dec hl"
4050DATA "inc l"
4060DATA "dec l"
4070DATA "ld l,N"
4080DATA "cpl"
4090DATA "jr nc,DIS"
4100DATA "ld sp,NN"
4110DATA "ld (NN),a"
4120DATA "inc sp"
4130DATA "inc (hl)"
4140DATA "dec (hl)"
4150DATA "ld (hl),N"
4160DATA "scf"
4170DATA "jr c,DIS"
4180DATA "add hl,sp"
4190DATA "ld a,(NN)"
4200DATA "dec sp"
4210DATA "inc a"
4220DATA "dec a"
4230DATA "ld a,N"
4240DATA "ccf"
4250DATA "ld b,b"
4260DATA "ld b,c"
4270DATA "ld b,d"
4280DATA "ld b,e"
4290DATA "ld b,h"
4300DATA "ld b,l"
4310DATA "ld b,(hl)"
4320DATA "ld b,a"
4330DATA "ld c,b"
4340DATA "ld c,c"
4350DATA "ld c,d"
4360DATA "ld c,e"
4370DATA "ld c,h"
4380DATA "ld c,l"
4390DATA "ld c,(hl)"
4400DATA "ld c,a"
4410DATA "ld d,b"
4420DATA "ld d,c"
4430DATA "ld d,d"
4440DATA "ld d,e"
4450DATA "ld d,h"
4460DATA "ld d,l"
4470DATA "ld d,(hl)"
4480DATA "ld d,a"
4490DATA "ld e,b"
4500DATA "ld e,c"
4510DATA "ld e,d"
4520DATA "ld e,e"
4530DATA "ld e,h"
4540DATA "ld e,l"
4550DATA "ld e,(hl)"
4560DATA "ld e,a"
4570DATA "ld h,b"
4580DATA "ld h,c"
4590DATA "ld h,d"
4600DATA "ld h,e"
4610DATA "ld h,h"
4620DATA "ld h,l"
4630DATA "ld h,(hl)"
4640DATA "ld h,a"
4650DATA "ld l,b"
4660DATA "ld l,c"
4670DATA "ld l,d"
4680DATA "ld l,e"
4690DATA "ld l,h"
4700DATA "ld l,l"
4710DATA "ld l,(hl)"
4720DATA "ld l,a"
4730DATA "ld (hl),b"
4740DATA "ld (hl),c"
4750DATA "ld (hl),d"
4760DATA "ld (hl),e"
4770DATA "ld (hl),h"
4780DATA "ld (hl),l"
4790DATA "halt"
4800DATA "ld (hl),a"
4810DATA "ld a,b"
4820DATA "ld a,c"
4830DATA "ld a,d"
4840DATA "ld a,e"
4850DATA "ld a,h"
4860DATA "ld a,l"
4870DATA "ld a,(hl)"
4880DATA "ld a,a"
4890DATA "add a,b"
4900DATA "add a,c"
4910DATA "add a,d"
4920DATA "add a,e"
4930DATA "add a,h"
4940DATA "add a,l"
4950DATA "add a,(hl)"
4960DATA "add a,a"
4970DATA "adc a,b"
4980DATA "adc a,c"
4990DATA "adc a,d"
5000DATA "adc a,e"
5010DATA "adc a,h"
5020DATA "adc a,l"
5030DATA "adc a,(hl)"
5040DATA "adc a,a"
5050DATA "sub b"
5060DATA "sub c"
5070DATA "sub d"
5080DATA "sub e"
5090DATA "sub h"
5100DATA "sub l"
5110DATA "sub (hl)"
5120DATA "sub a"
5130DATA "sbc a,b"
5140DATA "sbc a,c"
5150DATA "sbc a,d"
5160DATA "sbc a,e"
5170DATA "sbc a,h"
5180DATA "sbc a,l"
5190DATA "sbc a,(hl)"
5200DATA "sbc a,a"
5210DATA "and b"
5220DATA "and c"
5230DATA "and d"
5240DATA "and e"
5250DATA "and h"
5260DATA "and l"
5270DATA "and (hl)"
5280DATA "and a"
5290DATA "xor b"
5300DATA "xor c"
5310DATA "xor d"
5320DATA "xor e"
5330DATA "xor h"
5340DATA "xor l"
5350DATA "xor (hl)"
5360DATA "xor a"
5370DATA "or b"
5380DATA "or c"
5390DATA "or d"
5400DATA "or e"
5410DATA "or h"
5420DATA "or l"
5430DATA "or (hl)"
5440DATA "or a"
5450DATA "cp b"
5460DATA "cp c"
5470DATA "cp d"
5480DATA "cp e"
5490DATA "cp h"
5500DATA "cp l"
5510DATA "cp (hl)"
5520DATA "cp a"
5530DATA "ret nz"
5540DATA "pop bc"
5550DATA "jp nz,NN"
5560DATA "jp NN"
5570DATA "call nz,NN"
5580DATA "push bc"
5590DATA "add N"
5600DATA "rst 0"
5610DATA "ret z"
5620DATA "ret"
5630DATA "jp z,NN"
5640DATA ""
5650DATA "call z,NN"
5660DATA "call NN"
5670DATA "adc a,N"
5680DATA "rst 8"
5690DATA "ret nc"
5700DATA "pop de"
5710DATA "jp nc,NN"
5720DATA "out (N),a"
5730DATA "call nc,NN"
5740DATA "push de"
5750DATA "sub a,N"
5760DATA "rst 16"
5770DATA "ret c"
5780DATA "exx"
5790DATA "jp c,NN"
5800DATA "in a,(N)"
5810DATA "call c,NN"
5820DATA ""
5830DATA "sbc a,N"
5840DATA "rst 24"
5850DATA "ret po"
5860DATA "pop hl"
5870DATA "jp po,NN"
5880DATA "ex (sp),hl"
5890DATA "call po,NN"
5900DATA "push hl"
5910DATA "and N"
5920DATA "rst 32"
5930DATA "ret pe"
5940DATA "jp hl"
5950DATA "jp pe,NN"
5960DATA "ex de,hl"
5970DATA "call pe,NN"
5980DATA ""
5990DATA "xor N"
6000DATA "rst 40"
6010DATA "ret p"
6020DATA "pop af"
6030DATA "jp p,NN"
6040DATA "di"
6050DATA "call p,NN"
6060DATA "push af"
6070DATA "or N"
6080DATA "rst 48"
6090DATA "ret m"
6100DATA "ld sp,hl"
6110DATA "jp m,NN"
6120DATA "ei"
6130DATA "call m,NN"
6140DATA ""
6150DATA "cp N"
6160DATA "rst 56"
6170
6180REM =======================================
6190REM **** cb.decode
6200REM =======================================
6210
6220DATA "rlc b"
6230DATA "rlc c"
6240DATA "rlc d"
6250DATA "rlc e"
6260DATA "rlc h"
6270DATA "rlc l"
6280DATA "rlc (hl)"
6290DATA "rlc a"
6300DATA "rrc b"
6310DATA "rrc c"
6320DATA "rrc d"
6330DATA "rrc e"
6340DATA "rrc h"
6350DATA "rrc l"
6360DATA "rrc (hl)"
6370DATA "rrc a"
6380DATA "rl b"
6390DATA "rl c"
6400DATA "rl d"
6410DATA "rl e"
6420DATA "rl h"
6430DATA "rl l"
6440DATA "rl (hl)"
6450DATA "rl a"
6460DATA "rr b"
6470DATA "rr c"
6480DATA "rr d"
6490DATA "rr e"
6500DATA "rr h"
6510DATA "rr l"
6520DATA "rr (hl)"
6530DATA "rr a"
6540DATA "sla b"
6550DATA "sla c"
6560DATA "sla d"
6570DATA "sla e"
6580DATA "sla h"
6590DATA "sla l"
6600DATA "sla (hl)"
6610DATA "sla a"
6620DATA "sra b"
6630DATA "sra c"
6640DATA "sra d"
6650DATA "sra e"
6660DATA "sra h"
6670DATA "sra l"
6680DATA "sra (hl)"
6690DATA "sra a"
6700DATA "sll b"
6710DATA "sll c"
6720DATA "sll d"
6730DATA "sll e"
6740DATA "sll h"
6750DATA "sll l"
6760DATA "sll (hl)"
6770DATA "sll a"
6780DATA "srl b"
6790DATA "srl c"
6800DATA "srl d"
6810DATA "srl e"
6820DATA "srl h"
6830DATA "srl l"
6840DATA "srl (hl)"
6850DATA "srl a"
6860DATA "bit 0,b"
6870DATA "bit 0,c"
6880DATA "bit 0,d"
6890DATA "bit 0,e"
6900DATA "bit 0,h"
6910DATA "bit 0,l"
6920DATA "bit 0,(hl)"
6930DATA "bit 0,a"
6940DATA "bit 1,b"
6950DATA "bit 1,c"
6960DATA "bit 1,d"
6970DATA "bit 1,e"
6980DATA "bit 1,h"
6990DATA "bit 1,l"
7000DATA "bit 1,(hl)"
7010DATA "bit 1,a"
7020DATA "bit 2,b"
7030DATA "bit 2,c"
7040DATA "bit 2,d"
7050DATA "bit 2,e"
7060DATA "bit 2,h"
7070DATA "bit 2,l"
7080DATA "bit 2,(hl)"
7090DATA "bit 2,a"
7100DATA "bit 3,b"
7110DATA "bit 3,c"
7120DATA "bit 3,d"
7130DATA "bit 3,e"
7140DATA "bit 3,h"
7150DATA "bit 3,l"
7160DATA "bit 3,(hl)"
7170DATA "bit 3,a"
7180DATA "bit 4,b"
7190DATA "bit 4,c"
7200DATA "bit 4,d"
7210DATA "bit 4,e"
7220DATA "bit 4,h"
7230DATA "bit 4,l"
7240DATA "bit 4,(hl)"
7250DATA "bit 4,a"
7260DATA "bit 5,b"
7270DATA "bit 5,c"
7280DATA "bit 5,d"
7290DATA "bit 5,e"
7300DATA "bit 5,h"
7310DATA "bit 5,l"
7320DATA "bit 5,(hl)"
7330DATA "bit 5,a"
7340DATA "bit 6,b"
7350DATA "bit 6,c"
7360DATA "bit 6,d"
7370DATA "bit 6,e"
7380DATA "bit 6,h"
7390DATA "bit 6,l"
7400DATA "bit 6,(hl)"
7410DATA "bit 6,a"
7420DATA "bit 7,b"
7430DATA "bit 7,c"
7440DATA "bit 7,d"
7450DATA "bit 7,e"
7460DATA "bit 7,h"
7470DATA "bit 7,l"
7480DATA "bit 7,(hl)"
7490DATA "bit 7,a"
7500DATA "res 0,b"
7510DATA "res 0,c"
7520DATA "res 0,d"
7530DATA "res 0,e"
7540DATA "res 0,h"
7550DATA "res 0,l"
7560DATA "res 0,(hl)"
7570DATA "res 0,a"
7580DATA "res 1,b"
7590DATA "res 1,c"
7600DATA "res 1,d"
7610DATA "res 1,e"
7620DATA "res 1,h"
7630DATA "res 1,l"
7640DATA "res 1,(hl)"
7650DATA "res 1,a"
7660DATA "res 2,b"
7670DATA "res 2,c"
7680DATA "res 2,d"
7690DATA "res 2,e"
7700DATA "res 2,h"
7710DATA "res 2,l"
7720DATA "res 2,(hl)"
7730DATA "res 2,a"
7740DATA "res 3,b"
7750DATA "res 3,c"
7760DATA "res 3,d"
7770DATA "res 3,e"
7780DATA "res 3,h"
7790DATA "res 3,l"
7800DATA "res 3,(hl)"
7810DATA "res 3,a"
7820DATA "res 4,b"
7830DATA "res 4,c"
7840DATA "res 4,d"
7850DATA "res 4,e"
7860DATA "res 4,h"
7870DATA "res 4,l"
7880DATA "res 4,(hl)"
7890DATA "res 4,a"
7900DATA "res 5,b"
7910DATA "res 5,c"
7920DATA "res 5,d"
7930DATA "res 5,e"
7940DATA "res 5,h"
7950DATA "res 5,l"
7960DATA "res 5,(hl)"
7970DATA "res 5,a"
7980DATA "res 6,b"
7990DATA "res 6,c"
8000DATA "res 6,d"
8010DATA "res 6,e"
8020DATA "res 6,h"
8030DATA "res 6,l"
8040DATA "res 6,(hl)"
8050DATA "res 6,a"
8060DATA "res 7,b"
8070DATA "res 7,c"
8080DATA "res 7,d"
8090DATA "res 7,e"
8100DATA "res 7,h"
8110DATA "res 7,l"
8120DATA "res 7,(hl)"
8130DATA "res 7,a"
8140DATA "set 0,b"
8150DATA "set 0,c"
8160DATA "set 0,d"
8170DATA "set 0,e"
8180DATA "set 0,h"
8190DATA "set 0,l"
8200DATA "set 0,(hl)"
8210DATA "set 0,a"
8220DATA "set 1,b"
8230DATA "set 1,c"
8240DATA "set 1,d"
8250DATA "set 1,e"
8260DATA "set 1,h"
8270DATA "set 1,l"
8280DATA "set 1,(hl)"
8290DATA "set 1,a"
8300DATA "set 2,b"
8310DATA "set 2,c"
8320DATA "set 2,d"
8330DATA "set 2,e"
8340DATA "set 2,h"
8350DATA "set 2,l"
8360DATA "set 2,(hl)"
8370DATA "set 2,a"
8380DATA "set 3,b"
8390DATA "set 3,c"
8400DATA "set 3,d"
8410DATA "set 3,e"
8420DATA "set 3,h"
8430DATA "set 3,l"
8440DATA "set 3,(hl)"
8450DATA "set 3,a"
8460DATA "set 4,b"
8470DATA "set 4,c"
8480DATA "set 4,d"
8490DATA "set 4,e"
8500DATA "set 4,h"
8510DATA "set 4,l"
8520DATA "set 4,(hl)"
8530DATA "set 4,a"
8540DATA "set 5,b"
8550DATA "set 5,c"
8560DATA "set 5,d"
8570DATA "set 5,e"
8580DATA "set 5,h"
8590DATA "set 5,l"
8600DATA "set 5,(hl)"
8610DATA "set 5,a"
8620DATA "set 6,b"
8630DATA "set 6,c"
8640DATA "set 6,d"
8650DATA "set 6,e"
8660DATA "set 6,h"
8670DATA "set 6,l"
8680DATA "set 6,(hl)"
8690DATA "set 6,a"
8700DATA "set 7,b"
8710DATA "set 7,c"
8720DATA "set 7,d"
8730DATA "set 7,e"
8740DATA "set 7,h"
8750DATA "set 7,l"
8760DATA "set 7,(hl)"
8770DATA "set 7,a"
8780
8790REM =======================================
8800REM **** ed.decode
8810REM =======================================
8820
8830DATA "??"
8840DATA "??"
8850DATA "??"
8860DATA "??"
8870DATA "??"
8880DATA "??"
8890DATA "??"
8900DATA "??"
8910DATA "??"
8920DATA "??"
8930DATA "??"
8940DATA "??"
8950DATA "??"
8960DATA "??"
8970DATA "??"
8980DATA "??"
8990DATA "??"
9000DATA "??"
9010DATA "??"
9020DATA "??"
9030DATA "??"
9040DATA "??"
9050DATA "??"
9060DATA "??"
9070DATA "??"
9080DATA "??"
9090DATA "??"
9100DATA "??"
9110DATA "??"
9120DATA "??"
9130DATA "??"
9140DATA "??"
9150DATA "??"
9160DATA "??"
9170DATA "??"
9180DATA "??"
9190DATA "??"
9200DATA "??"
9210DATA "??"
9220DATA "??"
9230DATA "??"
9240DATA "??"
9250DATA "??"
9260DATA "??"
9270DATA "??"
9280DATA "??"
9290DATA "??"
9300DATA "??"
9310DATA "??"
9320DATA "??"
9330DATA "??"
9340DATA "??"
9350DATA "??"
9360DATA "??"
9370DATA "??"
9380DATA "??"
9390DATA "??"
9400DATA "??"
9410DATA "??"
9420DATA "??"
9430DATA "??"
9440DATA "??"
9450DATA "??"
9460DATA "??"
9470DATA "in b,(c)"
9480DATA "out (c),b"
9490DATA "sbc hl,bc"
9500DATA "ld (NN),bc"
9510DATA "neg"
9520DATA "retn"
9530DATA "im 0"
9540DATA "ld i,a"
9550DATA "in c,(c)"
9560DATA "out (c),c"
9570DATA "adc hl,bc"
9580DATA "ld bc,(NN)"
9590DATA "??"
9600DATA "reti"
9610DATA "??"
9620DATA "ld r,a"
9630DATA "in d,(c)"
9640DATA "out (c),d"
9650DATA "sbc hl,de"
9660DATA "ld (NN),de"
9670DATA "??"
9680DATA "??"
9690DATA "im 1"
9700DATA "ld a,i"
9710DATA "in e,(c)"
9720DATA "out (c),e"
9730DATA "adc hl,de"
9740DATA "ld de,(NN)"
9750DATA "??"
9760DATA "??"
9770DATA "im 2"
9780DATA "ld a,r"
9790DATA "in h,(c)"
9800DATA "out (c),h"
9810DATA "sbc hl,hl"
9820DATA "ld (NN),hl"
9830DATA "??"
9840DATA "??"
9850DATA "??"
9860DATA "rrd"
9870DATA "in l,(c)"
9880DATA "out (c),l"
9890DATA "adc hl,hl"
9900DATA "ld hl,(NN)"
9910DATA "??"
9920DATA "??"
9930DATA "??"
9940DATA "rld"
9950DATA "in f,(c)"
9960DATA "??"
9970DATA "sbc hl,sp"
9980DATA "ld (NN),sp"
9990DATA "??"
10000DATA "??"
10010DATA "??"
10020DATA "??"
10030DATA "in a,(c)"
10040DATA "out (c),a"
10050DATA "adc hl,sp"
10060DATA "ld sp,(NN)"
10070DATA "??"
10080DATA "??"
10090DATA "??"
10100DATA "??"
10110DATA "??"
10120DATA "??"
10130DATA "??"
10140DATA "??"
10150DATA "??"
10160DATA "??"
10170DATA "??"
10180DATA "??"
10190DATA "??"
10200DATA "??"
10210DATA "??"
10220DATA "??"
10230DATA "??"
10240DATA "??"
10250DATA "??"
10260DATA "??"
10270DATA "??"
10280DATA "??"
10290DATA "??"
10300DATA "??"
10310DATA "??"
10320DATA "??"
10330DATA "??"
10340DATA "??"
10350DATA "??"
10360DATA "??"
10370DATA "??"
10380DATA "??"
10390DATA "??"
10400DATA "??"
10410DATA "??"
10420DATA "??"
10430DATA "ldi"
10440DATA "cpi"
10450DATA "ini"
10460DATA "outi"
10470DATA "??"
10480DATA "??"
10490DATA "??"
10500DATA "??"
10510DATA "ldd"
10520DATA "cpd"
10530DATA "ind"
10540DATA "outd"
10550DATA "??"
10560DATA "??"
10570DATA "??"
10580DATA "??"
10590DATA "ldir"
10600DATA "cpir"
10610DATA "inir"
10620DATA "otir"
10630DATA "??"
10640DATA "??"
10650DATA "??"
10660DATA "??"
10670DATA "lddr"
10680DATA "cpdr"
10690DATA "indr"
10700DATA "otdr"
10710DATA "??"
10720DATA "??"
10730DATA "??"
10740DATA "??"
10750DATA "??"
10760DATA "??"
10770DATA "??"
10780DATA "??"
10790DATA "??"
10800DATA "??"
10810DATA "??"
10820DATA "??"
10830DATA "??"
10840DATA "??"
10850DATA "??"
10860DATA "??"
10870DATA "??"
10880DATA "??"
10890DATA "??"
10900DATA "??"
10910DATA "??"
10920DATA "??"
10930DATA "??"
10940DATA "??"
10950DATA "??"
10960DATA "??"
10970DATA "??"
10980DATA "??"
10990DATA "??"
11000DATA "??"
11010DATA "??"
11020DATA "??"
11030DATA "??"
11040DATA "??"
11050DATA "??"
11060DATA "??"
11070DATA "??"
11080DATA "??"
11090DATA "??"
11100DATA "??"
11110DATA "??"
11120DATA "??"
11130DATA "??"
11140DATA "??"
11150DATA "??"
11160DATA "??"
11170DATA "??"
11180DATA "??"
11190DATA "??"
11200DATA "??"
11210DATA "??"
11220DATA "??"
11230DATA "??"
11240DATA "??"
11250DATA "??"
11260DATA "??"
11270DATA "??"
11280DATA "??"
11290DATA "??"
11300DATA "??"
11310DATA "??"
11320DATA "??"
11330DATA "??"
11340DATA "??"
11350DATA "??"
11360DATA "??"
11370DATA "??"
11380DATA "??"
11390
11400REM =======================================
11410REM **** ix.decode
11420REM =======================================
11430
11440DATA "??"
11450DATA "??"
11460DATA "??"
11470DATA "??"
11480DATA "??"
11490DATA "??"
11500DATA "??"
11510DATA "??"
11520DATA "??"
11530DATA "add ix,bc"
11540DATA "??"
11550DATA "??"
11560DATA "??"
11570DATA "??"
11580DATA "??"
11590DATA "??"
11600DATA "??"
11610DATA "??"
11620DATA "??"
11630DATA "??"
11640DATA "??"
11650DATA "??"
11660DATA "??"
11670DATA "??"
11680DATA "??"
11690DATA "add ix,de"
11700DATA "??"
11710DATA "??"
11720DATA "??"
11730DATA "??"
11740DATA "??"
11750DATA "??"
11760DATA "??"
11770DATA "ld ix,NN"
11780DATA "ld (NN),ix"
11790DATA "inc ix"
11800DATA "inc ixh"
11810DATA "dec ixh"
11820DATA "ld ixh,N"
11830DATA "??"
11840DATA "??"
11850DATA "add ix,ix"
11860DATA "ld ix,(NN)"
11870DATA "dec ix"
11880DATA "inc ixl"
11890DATA "dec ixl"
11900DATA "ld ixl,N"
11910DATA "??"
11920DATA "??"
11930DATA "??"
11940DATA "??"
11950DATA "??"
11960DATA "inc (ixIDS)"
11970DATA "dec (ixIDS)"
11980DATA "ld (ixIDS),N"
11990DATA "??"
12000DATA "??"
12010DATA "add ix,sp"
12020DATA "??"
12030DATA "??"
12040DATA "??"
12050DATA "??"
12060DATA "??"
12070DATA "??"
12080DATA "??"
12090DATA "??"
12100DATA "??"
12110DATA "??"
12120DATA "ld b,ixh"
12130DATA "ld b,ixl"
12140DATA "ld b,(ixIDS)"
12150DATA "??"
12160DATA "??"
12170DATA "??"
12180DATA "??"
12190DATA "??"
12200DATA "ld c,ich"
12210DATA "ld c,ixh"
12220DATA "ld c,(ixIDS)"
12230DATA "??"
12240DATA "??"
12250DATA "??"
12260DATA "??"
12270DATA "??"
12280DATA "ld d,ixh"
12290DATA "ld d,ixl"
12300DATA "ld d,(ixIDS)"
12310DATA "??"
12320DATA "??"
12330DATA "??"
12340DATA "??"
12350DATA "??"
12360DATA "ld e,ixh"
12370DATA "ld e,ixl"
12380DATA "ld e,(ixIDS)"
12390DATA "??"
12400DATA "ld ixh,b"
12410DATA "ld ixh,c"
12420DATA "ld ixh,d"
12430DATA "ld ixh,e"
12440DATA "ld ixh,h"
12450DATA "ld ixh,l"
12460DATA "ld h,(ixIDS)"
12470DATA "ld ixh,a"
12480DATA "ld ixl,b"
12490DATA "ld ixl,c"
12500DATA "ld ixl,d"
12510DATA "ld ixl,e"
12520DATA "ld ixl,h"
12530DATA "ld ixl,l"
12540DATA "ld l,(ixIDS)"
12550DATA "ld ixl,a"
12560DATA "ld (ixIDS),b"
12570DATA "ld (ixIDS),c"
12580DATA "ld (ixIDS),d"
12590DATA "ld (ixIDS),e"
12600DATA "ld (ixIDS),h"
12610DATA "ld (ixIDS),l"
12620DATA "??"
12630DATA "ld (ixIDS),a"
12640DATA "??"
12650DATA "??"
12660DATA "??"
12670DATA "??"
12680DATA "ld a,ixh"
12690DATA "ld a,ixl"
12700DATA "ld a,(ixIDS)"
12710DATA "??"
12720DATA "??"
12730DATA "??"
12740DATA "??"
12750DATA "??"
12760DATA "add a,ixh"
12770DATA "add a,ixl"
12780DATA "add a,(ixIDS)"
12790DATA "??"
12800DATA "??"
12810DATA "??"
12820DATA "??"
12830DATA "??"
12840DATA "adc a,ixh"
12850DATA "adc a,ixl"
12860DATA "adc a,(ixIDS)"
12870DATA "??"
12880DATA "??"
12890DATA "??"
12900DATA "??"
12910DATA "??"
12920DATA "sub a,ixh"
12930DATA "sub a,ixl"
12940DATA "sub a,(ixIDS)"
12950DATA "??"
12960DATA "??"
12970DATA "??"
12980DATA "??"
12990DATA "??"
13000DATA "sbc a,ixh"
13010DATA "sbc a,ixl"
13020DATA "sbc a,(ixIDS)"
13030DATA "??"
13040DATA "??"
13050DATA "??"
13060DATA "??"
13070DATA "??"
13080DATA "and ixh"
13090DATA "and ixl"
13100DATA "and (ixIDS)"
13110DATA "??"
13120DATA "??"
13130DATA "??"
13140DATA "??"
13150DATA "??"
13160DATA "xor ixh"
13170DATA "xor ixl"
13180DATA "xor (ixIDS)"
13190DATA "??"
13200DATA "??"
13210DATA "??"
13220DATA "??"
13230DATA "??"
13240DATA "or ixh"
13250DATA "or ixl"
13260DATA "or (ixIDS)"
13270DATA "??"
13280DATA "??"
13290DATA "??"
13300DATA "??"
13310DATA "??"
13320DATA "cp ixh"
13330DATA "cp ixl"
13340DATA "cp (ixIDS)"
13350DATA "??"
13360DATA "??"
13370DATA "??"
13380DATA "??"
13390DATA "??"
13400DATA "??"
13410DATA "??"
13420DATA "??"
13430DATA "??"
13440DATA "??"
13450DATA "??"
13460DATA "??"
13470DATA "??"
13480DATA "??"
13490DATA "??"
13500DATA "??"
13510DATA "??"
13520DATA "??"
13530DATA "??"
13540DATA "??"
13550DATA "??"
13560DATA "??"
13570DATA "??"
13580DATA "??"
13590DATA "??"
13600DATA "??"
13610DATA "??"
13620DATA "??"
13630DATA "??"
13640DATA "??"
13650DATA "??"
13660DATA "??"
13670DATA "??"
13680DATA "??"
13690DATA "pop ix"
13700DATA "??"
13710DATA "ex (sp),ix"
13720DATA "??"
13730DATA "push ix"
13740DATA "??"
13750DATA "??"
13760DATA "??"
13770DATA "jp ix"
13780DATA "??"
13790DATA "ex de,ix"
13800DATA "??"
13810DATA "??"
13820DATA "??"
13830DATA "??"
13840DATA "??"
13850DATA "??"
13860DATA "??"
13870DATA "??"
13880DATA "??"
13890DATA "??"
13900DATA "??"
13910DATA "??"
13920DATA "??"
13930DATA "ld sp,ix"
13940DATA "??"
13950DATA "??"
13960DATA "??"
13970DATA "??"
13980DATA "??"
13990DATA "??"
14000
14010REM =======================================
14020REM **** ixcb.decode
14030REM =======================================
14040
14050DATA "?? (ixIDS)"
14060DATA "?? (ixIDS)"
14070DATA "?? (ixIDS)"
14080DATA "?? (ixIDS)"
14090DATA "?? (ixIDS)"
14100DATA "?? (ixIDS)"
14110DATA "rlc (ixIDS)"
14120DATA "?? (ixIDS)"
14130DATA "?? (ixIDS)"
14140DATA "?? (ixIDS)"
14150DATA "?? (ixIDS)"
14160DATA "?? (ixIDS)"
14170DATA "?? (ixIDS)"
14180DATA "?? (ixIDS)"
14190DATA "rrc (ixIDS)"
14200DATA "?? (ixIDS)"
14210DATA "?? (ixIDS)"
14220DATA "?? (ixIDS)"
14230DATA "?? (ixIDS)"
14240DATA "?? (ixIDS)"
14250DATA "?? (ixIDS)"
14260DATA "?? (ixIDS)"
14270DATA "rl (ixIDS)"
14280DATA "?? (ixIDS)"
14290DATA "?? (ixIDS)"
14300DATA "?? (ixIDS)"
14310DATA "?? (ixIDS)"
14320DATA "?? (ixIDS)"
14330DATA "?? (ixIDS)"
14340DATA "?? (ixIDS)"
14350DATA "rr (ixIDS)"
14360DATA "?? (ixIDS)"
14370DATA "?? (ixIDS)"
14380DATA "?? (ixIDS)"
14390DATA "?? (ixIDS)"
14400DATA "?? (ixIDS)"
14410DATA "?? (ixIDS)"
14420DATA "?? (ixIDS)"
14430DATA "sla (ixIDS)"
14440DATA "?? (ixIDS)"
14450DATA "?? (ixIDS)"
14460DATA "?? (ixIDS)"
14470DATA "?? (ixIDS)"
14480DATA "?? (ixIDS)"
14490DATA "?? (ixIDS)"
14500DATA "?? (ixIDS)"
14510DATA "sra (ixIDS)"
14520DATA "?? (ixIDS)"
14530DATA "?? (ixIDS)"
14540DATA "?? (ixIDS)"
14550DATA "?? (ixIDS)"
14560DATA "?? (ixIDS)"
14570DATA "?? (ixIDS)"
14580DATA "?? (ixIDS)"
14590DATA "sll (ixIDS)"
14600DATA "?? (ixIDS)"
14610DATA "?? (ixIDS)"
14620DATA "?? (ixIDS)"
14630DATA "?? (ixIDS)"
14640DATA "?? (ixIDS)"
14650DATA "?? (ixIDS)"
14660DATA "?? (ixIDS)"
14670DATA "srl (ixIDS)"
14680DATA "?? (ixIDS)"
14690DATA "?? (ixIDS)"
14700DATA "?? (ixIDS)"
14710DATA "?? (ixIDS)"
14720DATA "?? (ixIDS)"
14730DATA "?? (ixIDS)"
14740DATA "?? (ixIDS)"
14750DATA "bit 0,(ixIDS)"
14760DATA "?? (ixIDS)"
14770DATA "?? (ixIDS)"
14780DATA "?? (ixIDS)"
14790DATA "?? (ixIDS)"
14800DATA "?? (ixIDS)"
14810DATA "?? (ixIDS)"
14820DATA "?? (ixIDS)"
14830DATA "bit 1,(ixIDS)"
14840DATA "?? (ixIDS)"
14850DATA "?? (ixIDS)"
14860DATA "?? (ixIDS)"
14870DATA "?? (ixIDS)"
14880DATA "?? (ixIDS)"
14890DATA "?? (ixIDS)"
14900DATA "?? (ixIDS)"
14910DATA "bit 2,(ixIDS)"
14920DATA "?? (ixIDS)"
14930DATA "?? (ixIDS)"
14940DATA "?? (ixIDS)"
14950DATA "?? (ixIDS)"
14960DATA "?? (ixIDS)"
14970DATA "?? (ixIDS)"
14980DATA "?? (ixIDS)"
14990DATA "bit 3,(ixIDS)"
15000DATA "?? (ixIDS)"
15010DATA "?? (ixIDS)"
15020DATA "?? (ixIDS)"
15030DATA "?? (ixIDS)"
15040DATA "?? (ixIDS)"
15050DATA "?? (ixIDS)"
15060DATA "?? (ixIDS)"
15070DATA "bit 4,(ixIDS)"
15080DATA "?? (ixIDS)"
15090DATA "?? (ixIDS)"
15100DATA "?? (ixIDS)"
15110DATA "?? (ixIDS)"
15120DATA "?? (ixIDS)"
15130DATA "?? (ixIDS)"
15140DATA "?? (ixIDS)"
15150DATA "bit 5,(ixIDS)"
15160DATA "?? (ixIDS)"
15170DATA "?? (ixIDS)"
15180DATA "?? (ixIDS)"
15190DATA "?? (ixIDS)"
15200DATA "?? (ixIDS)"
15210DATA "?? (ixIDS)"
15220DATA "?? (ixIDS)"
15230DATA "bit 6,(ixIDS)"
15240DATA "?? (ixIDS)"
15250DATA "?? (ixIDS)"
15260DATA "?? (ixIDS)"
15270DATA "?? (ixIDS)"
15280DATA "?? (ixIDS)"
15290DATA "?? (ixIDS)"
15300DATA "?? (ixIDS)"
15310DATA "bit 7,(ixIDS)"
15320DATA "?? (ixIDS)"
15330DATA "?? (ixIDS)"
15340DATA "?? (ixIDS)"
15350DATA "?? (ixIDS)"
15360DATA "?? (ixIDS)"
15370DATA "?? (ixIDS)"
15380DATA "?? (ixIDS)"
15390DATA "res 0,(ixIDS)"
15400DATA "?? (ixIDS)"
15410DATA "?? (ixIDS)"
15420DATA "?? (ixIDS)"
15430DATA "?? (ixIDS)"
15440DATA "?? (ixIDS)"
15450DATA "?? (ixIDS)"
15460DATA "?? (ixIDS)"
15470DATA "res 1,(ixIDS)"
15480DATA "?? (ixIDS)"
15490DATA "?? (ixIDS)"
15500DATA "?? (ixIDS)"
15510DATA "?? (ixIDS)"
15520DATA "?? (ixIDS)"
15530DATA "?? (ixIDS)"
15540DATA "?? (ixIDS)"
15550DATA "res 2,(ixIDS)"
15560DATA "?? (ixIDS)"
15570DATA "?? (ixIDS)"
15580DATA "?? (ixIDS)"
15590DATA "?? (ixIDS)"
15600DATA "?? (ixIDS)"
15610DATA "?? (ixIDS)"
15620DATA "?? (ixIDS)"
15630DATA "res 3,(ixIDS)"
15640DATA "?? (ixIDS)"
15650DATA "?? (ixIDS)"
15660DATA "?? (ixIDS)"
15670DATA "?? (ixIDS)"
15680DATA "?? (ixIDS)"
15690DATA "?? (ixIDS)"
15700DATA "?? (ixIDS)"
15710DATA "res 4,(ixIDS)"
15720DATA "?? (ixIDS)"
15730DATA "?? (ixIDS)"
15740DATA "?? (ixIDS)"
15750DATA "?? (ixIDS)"
15760DATA "?? (ixIDS)"
15770DATA "?? (ixIDS)"
15780DATA "?? (ixIDS)"
15790DATA "res 5,(ixIDS)"
15800DATA "?? (ixIDS)"
15810DATA "?? (ixIDS)"
15820DATA "?? (ixIDS)"
15830DATA "?? (ixIDS)"
15840DATA "?? (ixIDS)"
15850DATA "?? (ixIDS)"
15860DATA "?? (ixIDS)"
15870DATA "res 6,(ixIDS)"
15880DATA "?? (ixIDS)"
15890DATA "?? (ixIDS)"
15900DATA "?? (ixIDS)"
15910DATA "?? (ixIDS)"
15920DATA "?? (ixIDS)"
15930DATA "?? (ixIDS)"
15940DATA "?? (ixIDS)"
15950DATA "res 7,(ixIDS)"
15960DATA "?? (ixIDS)"
15970DATA "?? (ixIDS)"
15980DATA "?? (ixIDS)"
15990DATA "?? (ixIDS)"
16000DATA "?? (ixIDS)"
16010DATA "?? (ixIDS)"
16020DATA "?? (ixIDS)"
16030DATA "set 0,(ixIDS)"
16040DATA "?? (ixIDS)"
16050DATA "?? (ixIDS)"
16060DATA "?? (ixIDS)"
16070DATA "?? (ixIDS)"
16080DATA "?? (ixIDS)"
16090DATA "?? (ixIDS)"
16100DATA "?? (ixIDS)"
16110DATA "set 1,(ixIDS)"
16120DATA "?? (ixIDS)"
16130DATA "?? (ixIDS)"
16140DATA "?? (ixIDS)"
16150DATA "?? (ixIDS)"
16160DATA "?? (ixIDS)"
16170DATA "?? (ixIDS)"
16180DATA "?? (ixIDS)"
16190DATA "set 2,(ixIDS)"
16200DATA "?? (ixIDS)"
16210DATA "?? (ixIDS)"
16220DATA "?? (ixIDS)"
16230DATA "?? (ixIDS)"
16240DATA "?? (ixIDS)"
16250DATA "?? (ixIDS)"
16260DATA "?? (ixIDS)"
16270DATA "set 3,(ixIDS)"
16280DATA "?? (ixIDS)"
16290DATA "?? (ixIDS)"
16300DATA "?? (ixIDS)"
16310DATA "?? (ixIDS)"
16320DATA "?? (ixIDS)"
16330DATA "?? (ixIDS)"
16340DATA "?? (ixIDS)"
16350DATA "set 4,(ixIDS)"
16360DATA "?? (ixIDS)"
16370DATA "?? (ixIDS)"
16380DATA "?? (ixIDS)"
16390DATA "?? (ixIDS)"
16400DATA "?? (ixIDS)"
16410DATA "?? (ixIDS)"
16420DATA "?? (ixIDS)"
16430DATA "set 5,(ixIDS)"
16440DATA "?? (ixIDS)"
16450DATA "?? (ixIDS)"
16460DATA "?? (ixIDS)"
16470DATA "?? (ixIDS)"
16480DATA "?? (ixIDS)"
16490DATA "?? (ixIDS)"
16500DATA "?? (ixIDS)"
16510DATA "set 6,(ixIDS)"
16520DATA "?? (ixIDS)"
16530DATA "?? (ixIDS)"
16540DATA "?? (ixIDS)"
16550DATA "?? (ixIDS)"
16560DATA "?? (ixIDS)"
16570DATA "?? (ixIDS)"
16580DATA "?? (ixIDS)"
16590DATA "set 7,(ixIDS)"
16600DATA "?? (ixIDS)"
16610
16620REM =======================================
16630REM **** iy.decode
16640REM =======================================
16650
16660DATA "??"
16670DATA "??"
16680DATA "??"
16690DATA "??"
16700DATA "??"
16710DATA "??"
16720DATA "??"
16730DATA "??"
16740DATA "??"
16750DATA "add iy,bc"
16760DATA "??"
16770DATA "??"
16780DATA "??"
16790DATA "??"
16800DATA "??"
16810DATA "??"
16820DATA "??"
16830DATA "??"
16840DATA "??"
16850DATA "??"
16860DATA "??"
16870DATA "??"
16880DATA "??"
16890DATA "??"
16900DATA "??"
16910DATA "add iy,de"
16920DATA "??"
16930DATA "??"
16940DATA "??"
16950DATA "??"
16960DATA "??"
16970DATA "??"
16980DATA "??"
16990DATA "ld iy,NN"
17000DATA "ld (NN),iy"
17010DATA "inc iy"
17020DATA "inc iyh"
17030DATA "dec iyh"
17040DATA "ld iyh,N"
17050DATA "??"
17060DATA "??"
17070DATA "add iy,iy"
17080DATA "ld iy,(NN)"
17090DATA "dec iy"
17100DATA "inc iyl"
17110DATA "dec iyl"
17120DATA "ld iyl,N"
17130DATA "??"
17140DATA "??"
17150DATA "??"
17160DATA "??"
17170DATA "??"
17180DATA "inc (iyIDS)"
17190DATA "dec (iyIDS)"
17200DATA "ld (iyIDS),N"
17210DATA "??"
17220DATA "??"
17230DATA "add iy,sp"
17240DATA "??"
17250DATA "??"
17260DATA "??"
17270DATA "??"
17280DATA "??"
17290DATA "??"
17300DATA "??"
17310DATA "??"
17320DATA "??"
17330DATA "??"
17340DATA "ld b,iyh"
17350DATA "ld b,iyl"
17360DATA "ld b,(iyIDS)"
17370DATA "??"
17380DATA "??"
17390DATA "??"
17400DATA "??"
17410DATA "??"
17420DATA "ld c,ich"
17430DATA "ld c,iyh"
17440DATA "ld c,(iyIDS)"
17450DATA "??"
17460DATA "??"
17470DATA "??"
17480DATA "??"
17490DATA "??"
17500DATA "ld d,iyh"
17510DATA "ld d,iyl"
17520DATA "ld d,(iyIDS)"
17530DATA "??"
17540DATA "??"
17550DATA "??"
17560DATA "??"
17570DATA "??"
17580DATA "ld e,iyh"
17590DATA "ld e,iyl"
17600DATA "ld e,(iyIDS)"
17610DATA "??"
17620DATA "ld iyh,b"
17630DATA "ld iyh,c"
17640DATA "ld iyh,d"
17650DATA "ld iyh,e"
17660DATA "ld iyh,h"
17670DATA "ld iyh,l"
17680DATA "ld h,(iyIDS)"
17690DATA "ld iyh,a"
17700DATA "ld iyl,b"
17710DATA "ld iyl,c"
17720DATA "ld iyl,d"
17730DATA "ld iyl,e"
17740DATA "ld iyl,h"
17750DATA "ld iyl,l"
17760DATA "ld l,(iyIDS)"
17770DATA "ld iyl,a"
17780DATA "ld (iyIDS),b"
17790DATA "ld (iyIDS),c"
17800DATA "ld (iyIDS),d"
17810DATA "ld (iyIDS),e"
17820DATA "ld (iyIDS),h"
17830DATA "ld (iyIDS),l"
17840DATA "??"
17850DATA "ld (iyIDS),a"
17860DATA "??"
17870DATA "??"
17880DATA "??"
17890DATA "??"
17900DATA "ld a,iyh"
17910DATA "ld a,iyl"
17920DATA "ld a,(iyIDS)"
17930DATA "??"
17940DATA "??"
17950DATA "??"
17960DATA "??"
17970DATA "??"
17980DATA "add a,iyh"
17990DATA "add a,iyl"
18000DATA "add a,(iyIDS)"
18010DATA "??"
18020DATA "??"
18030DATA "??"
18040DATA "??"
18050DATA "??"
18060DATA "adc a,iyh"
18070DATA "adc a,iyl"
18080DATA "adc a,(iyIDS)"
18090DATA "??"
18100DATA "??"
18110DATA "??"
18120DATA "??"
18130DATA "??"
18140DATA "sub a,iyh"
18150DATA "sub a,iyl"
18160DATA "sub a,(iyIDS)"
18170DATA "??"
18180DATA "??"
18190DATA "??"
18200DATA "??"
18210DATA "??"
18220DATA "sbc a,iyh"
18230DATA "sbc a,iyl"
18240DATA "sbc a,(iyIDS)"
18250DATA "??"
18260DATA "??"
18270DATA "??"
18280DATA "??"
18290DATA "??"
18300DATA "and iyh"
18310DATA "and iyl"
18320DATA "and (iyIDS)"
18330DATA "??"
18340DATA "??"
18350DATA "??"
18360DATA "??"
18370DATA "??"
18380DATA "xor iyh"
18390DATA "xor iyl"
18400DATA "xor (iyIDS)"
18410DATA "??"
18420DATA "??"
18430DATA "??"
18440DATA "??"
18450DATA "??"
18460DATA "or iyh"
18470DATA "or iyl"
18480DATA "or (iyIDS)"
18490DATA "??"
18500DATA "??"
18510DATA "??"
18520DATA "??"
18530DATA "??"
18540DATA "cp iyh"
18550DATA "cp iyl"
18560DATA "cp (iyIDS)"
18570DATA "??"
18580DATA "??"
18590DATA "??"
18600DATA "??"
18610DATA "??"
18620DATA "??"
18630DATA "??"
18640DATA "??"
18650DATA "??"
18660DATA "??"
18670DATA "??"
18680DATA "??"
18690DATA "??"
18700DATA "??"
18710DATA "??"
18720DATA "??"
18730DATA "??"
18740DATA "??"
18750DATA "??"
18760DATA "??"
18770DATA "??"
18780DATA "??"
18790DATA "??"
18800DATA "??"
18810DATA "??"
18820DATA "??"
18830DATA "??"
18840DATA "??"
18850DATA "??"
18860DATA "??"
18870DATA "??"
18880DATA "??"
18890DATA "??"
18900DATA "??"
18910DATA "pop iy"
18920DATA "??"
18930DATA "ex (sp),iy"
18940DATA "??"
18950DATA "push iy"
18960DATA "??"
18970DATA "??"
18980DATA "??"
18990DATA "jp iy"
19000DATA "??"
19010DATA "ex de,iy"
19020DATA "??"
19030DATA "??"
19040DATA "??"
19050DATA "??"
19060DATA "??"
19070DATA "??"
19080DATA "??"
19090DATA "??"
19100DATA "??"
19110DATA "??"
19120DATA "??"
19130DATA "??"
19140DATA "??"
19150DATA "ld sp,iy"
19160DATA "??"
19170DATA "??"
19180DATA "??"
19190DATA "??"
19200DATA "??"
19210DATA "??"
19220
19230REM =======================================
19240REM **** iycb.decode
19250REM =======================================
19260
19270DATA "?? (iyIDS)"
19280DATA "?? (iyIDS)"
19290DATA "?? (iyIDS)"
19300DATA "?? (iyIDS)"
19310DATA "?? (iyIDS)"
19320DATA "?? (iyIDS)"
19330DATA "rlc (iyIDS)"
19340DATA "?? (iyIDS)"
19350DATA "?? (iyIDS)"
19360DATA "?? (iyIDS)"
19370DATA "?? (iyIDS)"
19380DATA "?? (iyIDS)"
19390DATA "?? (iyIDS)"
19400DATA "?? (iyIDS)"
19410DATA "rrc (iyIDS)"
19420DATA "?? (iyIDS)"
19430DATA "?? (iyIDS)"
19440DATA "?? (iyIDS)"
19450DATA "?? (iyIDS)"
19460DATA "?? (iyIDS)"
19470DATA "?? (iyIDS)"
19480DATA "?? (iyIDS)"
19490DATA "rl (iyIDS)"
19500DATA "?? (iyIDS)"
19510DATA "?? (iyIDS)"
19520DATA "?? (iyIDS)"
19530DATA "?? (iyIDS)"
19540DATA "?? (iyIDS)"
19550DATA "?? (iyIDS)"
19560DATA "?? (iyIDS)"
19570DATA "rr (iyIDS)"
19580DATA "?? (iyIDS)"
19590DATA "?? (iyIDS)"
19600DATA "?? (iyIDS)"
19610DATA "?? (iyIDS)"
19620DATA "?? (iyIDS)"
19630DATA "?? (iyIDS)"
19640DATA "?? (iyIDS)"
19650DATA "sla (iyIDS)"
19660DATA "?? (iyIDS)"
19670DATA "?? (iyIDS)"
19680DATA "?? (iyIDS)"
19690DATA "?? (iyIDS)"
19700DATA "?? (iyIDS)"
19710DATA "?? (iyIDS)"
19720DATA "?? (iyIDS)"
19730DATA "sra (iyIDS)"
19740DATA "?? (iyIDS)"
19750DATA "?? (iyIDS)"
19760DATA "?? (iyIDS)"
19770DATA "?? (iyIDS)"
19780DATA "?? (iyIDS)"
19790DATA "?? (iyIDS)"
19800DATA "?? (iyIDS)"
19810DATA "sll (iyIDS)"
19820DATA "?? (iyIDS)"
19830DATA "?? (iyIDS)"
19840DATA "?? (iyIDS)"
19850DATA "?? (iyIDS)"
19860DATA "?? (iyIDS)"
19870DATA "?? (iyIDS)"
19880DATA "?? (iyIDS)"
19890DATA "srl (iyIDS)"
19900DATA "?? (iyIDS)"
19910DATA "?? (iyIDS)"
19920DATA "?? (iyIDS)"
19930DATA "?? (iyIDS)"
19940DATA "?? (iyIDS)"
19950DATA "?? (iyIDS)"
19960DATA "?? (iyIDS)"
19970DATA "bit 0,(iyIDS)"
19980DATA "?? (iyIDS)"
19990DATA "?? (iyIDS)"
20000DATA "?? (iyIDS)"
20010DATA "?? (iyIDS)"
20020DATA "?? (iyIDS)"
20030DATA "?? (iyIDS)"
20040DATA "?? (iyIDS)"
20050DATA "bit 1,(iyIDS)"
20060DATA "?? (iyIDS)"
20070DATA "?? (iyIDS)"
20080DATA "?? (iyIDS)"
20090DATA "?? (iyIDS)"
20100DATA "?? (iyIDS)"
20110DATA "?? (iyIDS)"
20120DATA "?? (iyIDS)"
20130DATA "bit 2,(iyIDS)"
20140DATA "?? (iyIDS)"
20150DATA "?? (iyIDS)"
20160DATA "?? (iyIDS)"
20170DATA "?? (iyIDS)"
20180DATA "?? (iyIDS)"
20190DATA "?? (iyIDS)"
20200DATA "?? (iyIDS)"
20210DATA "bit 3,(iyIDS)"
20220DATA "?? (iyIDS)"
20230DATA "?? (iyIDS)"
20240DATA "?? (iyIDS)"
20250DATA "?? (iyIDS)"
20260DATA "?? (iyIDS)"
20270DATA "?? (iyIDS)"
20280DATA "?? (iyIDS)"
20290DATA "bit 4,(iyIDS)"
20300DATA "?? (iyIDS)"
20310DATA "?? (iyIDS)"
20320DATA "?? (iyIDS)"
20330DATA "?? (iyIDS)"
20340DATA "?? (iyIDS)"
20350DATA "?? (iyIDS)"
20360DATA "?? (iyIDS)"
20370DATA "bit 5,(iyIDS)"
20380DATA "?? (iyIDS)"
20390DATA "?? (iyIDS)"
20400DATA "?? (iyIDS)"
20410DATA "?? (iyIDS)"
20420DATA "?? (iyIDS)"
20430DATA "?? (iyIDS)"
20440DATA "?? (iyIDS)"
20450DATA "bit 6,(iyIDS)"
20460DATA "?? (iyIDS)"
20470DATA "?? (iyIDS)"
20480DATA "?? (iyIDS)"
20490DATA "?? (iyIDS)"
20500DATA "?? (iyIDS)"
20510DATA "?? (iyIDS)"
20520DATA "?? (iyIDS)"
20530DATA "bit 7,(iyIDS)"
20540DATA "?? (iyIDS)"
20550DATA "?? (iyIDS)"
20560DATA "?? (iyIDS)"
20570DATA "?? (iyIDS)"
20580DATA "?? (iyIDS)"
20590DATA "?? (iyIDS)"
20600DATA "?? (iyIDS)"
20610DATA "res 0,(iyIDS)"
20620DATA "?? (iyIDS)"
20630DATA "?? (iyIDS)"
20640DATA "?? (iyIDS)"
20650DATA "?? (iyIDS)"
20660DATA "?? (iyIDS)"
20670DATA "?? (iyIDS)"
20680DATA "?? (iyIDS)"
20690DATA "res 1,(iyIDS)"
20700DATA "?? (iyIDS)"
20710DATA "?? (iyIDS)"
20720DATA "?? (iyIDS)"
20730DATA "?? (iyIDS)"
20740DATA "?? (iyIDS)"
20750DATA "?? (iyIDS)"
20760DATA "?? (iyIDS)"
20770DATA "res 2,(iyIDS)"
20780DATA "?? (iyIDS)"
20790DATA "?? (iyIDS)"
20800DATA "?? (iyIDS)"
20810DATA "?? (iyIDS)"
20820DATA "?? (iyIDS)"
20830DATA "?? (iyIDS)"
20840DATA "?? (iyIDS)"
20850DATA "res 3,(iyIDS)"
20860DATA "?? (iyIDS)"
20870DATA "?? (iyIDS)"
20880DATA "?? (iyIDS)"
20890DATA "?? (iyIDS)"
20900DATA "?? (iyIDS)"
20910DATA "?? (iyIDS)"
20920DATA "?? (iyIDS)"
20930DATA "res 4,(iyIDS)"
20940DATA "?? (iyIDS)"
20950DATA "?? (iyIDS)"
20960DATA "?? (iyIDS)"
20970DATA "?? (iyIDS)"
20980DATA "?? (iyIDS)"
20990DATA "?? (iyIDS)"
21000DATA "?? (iyIDS)"
21010DATA "res 5,(iyIDS)"
21020DATA "?? (iyIDS)"
21030DATA "?? (iyIDS)"
21040DATA "?? (iyIDS)"
21050DATA "?? (iyIDS)"
21060DATA "?? (iyIDS)"
21070DATA "?? (iyIDS)"
21080DATA "?? (iyIDS)"
21090DATA "res 6,(iyIDS)"
21100DATA "?? (iyIDS)"
21110DATA "?? (iyIDS)"
21120DATA "?? (iyIDS)"
21130DATA "?? (iyIDS)"
21140DATA "?? (iyIDS)"
21150DATA "?? (iyIDS)"
21160DATA "?? (iyIDS)"
21170DATA "res 7,(iyIDS)"
21180DATA "?? (iyIDS)"
21190DATA "?? (iyIDS)"
21200DATA "?? (iyIDS)"
21210DATA "?? (iyIDS)"
21220DATA "?? (iyIDS)"
21230DATA "?? (iyIDS)"
21240DATA "?? (iyIDS)"
21250DATA "set 0,(iyIDS)"
21260DATA "?? (iyIDS)"
21270DATA "?? (iyIDS)"
21280DATA "?? (iyIDS)"
21290DATA "?? (iyIDS)"
21300DATA "?? (iyIDS)"
21310DATA "?? (iyIDS)"
21320DATA "?? (iyIDS)"
21330DATA "set 1,(iyIDS)"
21340DATA "?? (iyIDS)"
21350DATA "?? (iyIDS)"
21360DATA "?? (iyIDS)"
21370DATA "?? (iyIDS)"
21380DATA "?? (iyIDS)"
21390DATA "?? (iyIDS)"
21400DATA "?? (iyIDS)"
21410DATA "set 2,(iyIDS)"
21420DATA "?? (iyIDS)"
21430DATA "?? (iyIDS)"
21440DATA "?? (iyIDS)"
21450DATA "?? (iyIDS)"
21460DATA "?? (iyIDS)"
21470DATA "?? (iyIDS)"
21480DATA "?? (iyIDS)"
21490DATA "set 3,(iyIDS)"
21500DATA "?? (iyIDS)"
21510DATA "?? (iyIDS)"
21520DATA "?? (iyIDS)"
21530DATA "?? (iyIDS)"
21540DATA "?? (iyIDS)"
21550DATA "?? (iyIDS)"
21560DATA "?? (iyIDS)"
21570DATA "set 4,(iyIDS)"
21580DATA "?? (iyIDS)"
21590DATA "?? (iyIDS)"
21600DATA "?? (iyIDS)"
21610DATA "?? (iyIDS)"
21620DATA "?? (iyIDS)"
21630DATA "?? (iyIDS)"
21640DATA "?? (iyIDS)"
21650DATA "set 5,(iyIDS)"
21660DATA "?? (iyIDS)"
21670DATA "?? (iyIDS)"
21680DATA "?? (iyIDS)"
21690DATA "?? (iyIDS)"
21700DATA "?? (iyIDS)"
21710DATA "?? (iyIDS)"
21720DATA "?? (iyIDS)"
21730DATA "set 6,(iyIDS)"
21740DATA "?? (iyIDS)"
21750DATA "?? (iyIDS)"
21760DATA "?? (iyIDS)"
21770DATA "?? (iyIDS)"
21780DATA "?? (iyIDS)"
21790DATA "?? (iyIDS)"
21800DATA "?? (iyIDS)"
21810DATA "set 7,(iyIDS)"
21820DATA "?? (iyIDS)"
C�**************************************************************
+� BASIC Z80 Dissasembler
�
(6� Originally written by Kevin J Phai 1992
29� as part of The PC Spectrum EMULATOR Package.
<�
FC�**************************************************************
P* version$ = "1.00"
ZC�**************************************************************
d@� Ported to Archimedes from DOS BASIC by M.Perigo 2-SEP-93
n�
x>� A highly inefficient way of going about things, (a z80
�@� disassembler in native code can be fitted into less than
�>� 1k) but I was in desperate need for a Z80 Dissasembler
�8� and this method works so it will do fine for me.
�C�**************************************************************
�
��#0
�� � �error
��
�=� " BASIC Z80 Dissasembler v";version$
�.� " ======================"
��
�
�*a$="adfs::IDE5.$.SPECTRUM.!Spectrum.x"
c�a$="adfs::IDE5.$.SPECTRUM.!Spectrum.Roms.Spectrum":REM!!INPUT "What is the input filename ";a$
infile% = �(a$)
"� "Disassembling the file ";a$
"
,
6Ipcofs=-256:�!!!INPUT "What is the memory offset for this file ";pcofs
@4�"This file includes a memory offset of ";pcofs
J
T
opt%=0
^4q$="y":a$="adfs::IDE5.$.SPECTRUM.!Spectrum.xdis"
hN�IF q$="y" THEN opt%=1:INPUT "File to direct to ",a$:outfile% = OPENOUT a$
r%� q$="y" � opt%=1:outfile% = � a$
|
�
� �help
�� opt%=1 �
�. �#outfile%,"Disassembly of the file "+a$
� �#outfile%,�$
� �#outfile%," "
�: �#outfile%,"Addr. OpCodes Assembler"
�H out$="----- -------------------- -----------------------------"
��
�
�
�pc=0
�;pc=23760-pcofs: � 1st line of BASIC program in spectrum
�
�#infile%=pc
� **** disasm.more
&&� opt%=1 � �#outfile%,out$:out$=""
0a$=��#infile% :� pc + 1
:o% = �(a$)
D7� �"00000"+�(pc+pcofs),5); �8);:� �using("###",o%);
NG� opt%=1 � out$=out$+�"00000"+�(pc+pcofs),5)+" "+�using("###",o%)
Xpc = pc + 1
b"� o%=203 � � �TvF :� cb.decode
l"� o%=221 � � �TzG :� ix.decode
v"� o%=237 � � �tnF :� ed.decode
�"� o%=253 � � �D~I :� iy.decode
�
� �TZN
�� f%=0 � o%: � d$: � f%
�&� �d$, "NN") � � �TxD :� embword0
�&� �d$, "N") � � �TTE :� embbyte0
�&� �d$, "DIS") � � �tjE :� embdisp0
�
�� **** prdis
�� �31);�ucase(d$)
�� opt%=1 �
� �
� out$=out$+" "
� � �(out$)>29
out$=out$+�ucase(d$)
�
i$=�
*� i$="b" � i$="B" �
48 � pc >0 � pc=pc-1 � �'" *** At start of file ***"
> �#infile%=pc
H � pc+pcofs
R�
\� i$="b" � i$="B" � � �T`C
f
p� i$="c" � i$="C" �
z �
�% � "Enter expression ... ",calc$
�8 �'calc$;" = ";�(calc$);" (";�~�(calc$);" in hex)"
� �
��
�� i$="m" � i$="M" �
� �
�/ � "New location to disassemble from ",pc$
�B pc=�(pc$)-pcofs:� pc<0 � pc=0:�'" *** At start of file ***"
� �#infile%=pc
� �
��
�� �#infile% � �#0:�
�� i$="h" � i$="H" � �help
� i$="q" � i$="Q" � �#0:�
� �T\B :� disasm.more
$
.
8� **** embword0
Ba$=��#infile% :� pc + 1:
Llo = �(a$)
Va$=��#infile% :� pc + 2:
`hi = �(a$):� ",";
j� �using("###",lo);
t
� ",";
~� �using("###",hi);
�� opt%=1 �
�"out$=out$+","+�using("###",lo)
�,out$=out$+",":out$=out$+�using("###",hi)
��
�eword = (hi * 256 + lo)
�t$=�d$, �d$, "NN") - 1)
�t$=t$+��(eword), 5)
�"t$=t$+�d$, �d$, "NN") + 2, 10)
�pc = pc + 2
� d$=t$
�� �dFB :� prdis
�
� **** embbyte0
a$=��#infile% :� pc + 1
(ebyte = �(a$)
2
� ",";
<� �using("###",ebyte);
F0� opt%=1 � out$=out$+","+�using("###",ebyte)
Pt$=�d$,1,�d$,"N")-1)
Zt$=t$+��(ebyte), 3)
d t$=t$+�d$,�d$, "N") + 1, 10)
npc = pc + 1
x d$=t$
�� �dFB :� prdis
�
�
�
�� **** embdisp0
�a$=��#infile% :� pc + 1
�edisp = �(a$)
�'� edisp > 127 � edisp = edisp - 256
�!� ",";:� �using("###",�(a$));
�0� opt%=1 � out$=out$+","+�using("###",�(a$))
�t$=�d$,1,�d$,"DIS")-1)
�-t$=t$+�(edisp)+" >"+�(pc+1+edisp+pcofs)
�pc = pc + 1
d$=t$
� �dFB :� prdis
"
,
6� **** cb.decode
@a$=��#infile% :� pc + 1
Jo% = �(a$)
T� ",";:� �using("###",o%);
^-� opt%=1 � out$=out$+","+�using("###",o%)
h
� �DLX
r� f%=0 � o%: � d$: � f%
|pc = pc + 1
�� �dFB :� prdis
�
�
�
�� **** ed.decode
�a$=��#infile% :� pc + 1
�o% = �(a$)
�� ",";:� �using("###",o%);
�-� opt%=1 � out$=out$+","+�using("###",o%)
�
� �D~b
�� f%=0 � o%: � d$: � f%
�pc = pc + 1
�%� �d$, "NN") � � �TxD :� embword0
$� �d$, "N") � � �TTE :� embbyte0
� �dFB :� prdis
&
0
:� **** ix.decode
Da$=��#infile% :� pc + 1
No% = �(a$)
X� ",";:� �using("###",o%);
b-� opt%=1 � out$=out$+","+�using("###",o%)
l$� o%=203 � � �DfH :� ixcb.decode
v
� �tpl
�� f%=0 � o%: � d$: � f%
�pc = pc + 1
�� �d$,"IDS") �
�a$=��#infile% :� pc + 1
�edisp = �(a$)
�'� edisp > 127 � edisp = edisp - 256
�!� ",";:� �using("###",�(a$));
�0� opt%=1 � out$=out$+","+�using("###",�(a$))
�t$=�d$,1,�d$,"IDS")-1)
�ed$=�(edisp)
�&� edisp>0 � ed$="+"+��(edisp),2,3)
�� edisp=0 � ed$=""
�
t$=t$+ed$
!t$=t$+�d$,�d$,"IDS") + 3, 10)
d$=t$
pc = pc + 1
�
*%� �d$, "NN") � � �TxD :� embword0
4%� �d$, "N") � � �TTE :� embbyte0
>� �dFB :� prdis
H
R
\
f� **** ixcb.decode
ppc=pc+1
za$=��#infile% :� pc + 2
�o% = �(a$)
�� ",";:� �using("###",o%);
�-� opt%=1 � out$=out$+","+�using("###",o%)
�
� �dbv
�� f%=0 � o%: � d$: � f%
�pc = pc + 1
�� �d$,"IDS") �
�a$=��#infile% :� pc
�edisp = �(a$)
�'� edisp > 127 � edisp = edisp - 256
�!� ",";:� �using("###",�(a$));
�0� opt%=1 � out$=out$+","+�using("###",�(a$))
�t$=�d$,1,�d$,"IDS")-1)
ed$=�(edisp)
&� edisp>0 � ed$="+"+��(edisp),2,3)
� edisp=0 � ed$=""
$
t$=t$+ed$
.!t$=t$+�d$,�d$,"IDS") + 3, 10)
8 d$=t$
Bpc = pc + 1
L�
V� �dFB :� prdis
`
j
t
~� **** iy.decode
�a$=��#infile% :� pc + 1
�o% = �(a$)
�� ",";:� �using("###",o%);
�-� opt%=1 � out$=out$+","+�using("###",o%)
�$� o%=203 � � �tjJ :� iycb.decode
�
� �PTA
�� f%=0 � o%: � d$: � f%
�pc = pc + 1
�� �d$,"IDS") �
�a$=��#infile% :� pc + 1
�edisp = �(a$)
�'� edisp > 127 � edisp = edisp - 256
!� ",";:� �using("###",�(a$));
0� opt%=1 � out$=out$+","+�using("###",�(a$))
t$=�d$,1,�d$,"IDS")-1)
ed$=�(edisp)
(&� edisp>0 � ed$="+"+��(edisp),2,3)
2� edisp=0 � ed$=""
<
t$=t$+ed$
F!t$=t$+�d$,�d$,"IDS") + 3, 10)
P d$=t$
Zpc = pc + 1
d�
n%� �d$, "NN") � � �TxD :� embword0
x%� �d$, "N") � � �TTE :� embbyte0
�� �dFB :� prdis
�
�
�
�� **** iycb.decode
�pc=pc+1
�a$=��#infile% :� pc + 2
�o% = �(a$)
�� ",";:� �using("###",o%);
�-� opt%=1 � out$=out$+","+�using("###",o%)
�
� �@FK
�� f%=0 � o%: � d$: � f%
�pc=pc+1
� �d$,"IDS") �
a$=�(�#infile%):� pc
edisp = �(a$)
"'� edisp > 127 � edisp = edisp - 256
,!� ",";:� �using("###",�(a$));
60� opt%=1 � out$=out$+","+�using("###",�(a$))
@t$=�d$,1,�d$,"IDS")-1)
Jed$=�(edisp)
T&� edisp>0 � ed$="+"+��(edisp),2,3)
^� edisp=0 � ed$=""
h
t$=t$+ed$
r!t$=t$+�d$,�d$,"IDS") + 3, 10)
| d$=t$
�pc = pc + 1
��
�� �dFB :� prdis
�
�
�::
�
�
�� �help
�� ''
�3� " Press ""H"" or ""h"" for this help text "
�9� " Press ""B"" or ""b"" to step back one location"
�8� " Press ""C"" or ""c"" to perform a calculation"
:� " Press ""M"" or ""m"" to start at a new location"
'� " Press ""Q"" or ""q"" to quit"
6� " Press any other key to continue disassembly"
&� '
0:� " Whenever prompted for a numerical input you may"
:9� " use any valid expression such as &123F + 456"
D�''
N/� "Addr. OpCodes Assembler"
XC� "----- -------------------- -----------------------------"
b�
l
v
�::
�
�
�� �using(mask$,n)
�n$=ĩ(mask$)," ")+�(n)
�= �n$,�(mask$))
�
�
�::
�
�
�� �ucase(d$)
�� x%,x$
x$=""
� L%=1 � �(d$)
�� try using the next line instead of the following 3 if you want to see an interesting effect. If anyone knows why this should be then please let me in on the secret!!!
4� x$=x$+(CHR$(ASC(MID$(d$,L%,1)) AND %11011111))
*x% = �(�d$,L%,1))
46� x%>96 � x%<123 � x%=x%-32 :� x%=x% AND %11011111
>x$=x$+�(x%)
H�
R=x$
\
f
p::
z
�
�� �error
� � � �
� �:� " at line ";�
� �#0:�
��
�
�
�::
�
�
�.� =======================================
�� disasm.more
.� =======================================
� "nop"
$� "ld bc,NN"
.� "ld (bc),a"
8� "inc bc"
B� "inc b"
L� "dec b"
V� "ld b,N"
`� "rlca"
j� "ex af,af'"
t� "add hl,bc"
~� "ld a,(bc)"
�� "dec bc"
�� "inc c"
�� "dec c"
�� "ld c,N"
�� "rrca"
�� "djnz DIS"
�� "ld de,NN"
�� "ld (de),a"
�� "inc de"
�� "inc d"
�� "dec d"
�� "ld d,N"
� "rla"
� "jr DIS"
� "add hl,de"
� "ld a,(de)"
(� "dec de"
2� "inc e"
<� "dec e"
F� "ld e,N"
P� "rra"
Z� "jr nz,DIS"
d� "ld hl,NN"
n� "ld (NN),hl"
x� "inc hl"
�� "inc h"
�� "dec h"
�� "ld h,N"
�� "daa"
�� "jr z,DIS"
�� "add hl,hl"
�� "ld hl,(NN)"
�� "dec hl"
�� "inc l"
�� "dec l"
�� "ld l,N"
�� "cpl"
�� "jr nc,DIS"
� "ld sp,NN"
� "ld (NN),a"
� "inc sp"
"� "inc (hl)"
,� "dec (hl)"
6� "ld (hl),N"
@� "scf"
J� "jr c,DIS"
T� "add hl,sp"
^� "ld a,(NN)"
h� "dec sp"
r� "inc a"
|� "dec a"
�� "ld a,N"
�� "ccf"
�� "ld b,b"
�� "ld b,c"
�� "ld b,d"
�� "ld b,e"
�� "ld b,h"
�� "ld b,l"
�� "ld b,(hl)"
�� "ld b,a"
�� "ld c,b"
�� "ld c,c"
�� "ld c,d"
� "ld c,e"
� "ld c,h"
� "ld c,l"
&� "ld c,(hl)"
0� "ld c,a"
:� "ld d,b"
D� "ld d,c"
N� "ld d,d"
X� "ld d,e"
b� "ld d,h"
l� "ld d,l"
v� "ld d,(hl)"
�� "ld d,a"
�� "ld e,b"
�� "ld e,c"
�� "ld e,d"
�� "ld e,e"
�� "ld e,h"
�� "ld e,l"
�� "ld e,(hl)"
�� "ld e,a"
�� "ld h,b"
�� "ld h,c"
�� "ld h,d"
�� "ld h,e"
� "ld h,h"
� "ld h,l"
� "ld h,(hl)"
� "ld h,a"
*� "ld l,b"
4� "ld l,c"
>� "ld l,d"
H� "ld l,e"
R� "ld l,h"
\� "ld l,l"
f� "ld l,(hl)"
p� "ld l,a"
z� "ld (hl),b"
�� "ld (hl),c"
�� "ld (hl),d"
�� "ld (hl),e"
�� "ld (hl),h"
�� "ld (hl),l"
�� "halt"
�� "ld (hl),a"
�� "ld a,b"
�� "ld a,c"
�� "ld a,d"
�� "ld a,e"
�� "ld a,h"
�� "ld a,l"
� "ld a,(hl)"
� "ld a,a"
� "add a,b"
$� "add a,c"
.� "add a,d"
8� "add a,e"
B� "add a,h"
L� "add a,l"
V� "add a,(hl)"
`� "add a,a"
j� "adc a,b"
t� "adc a,c"
~� "adc a,d"
�� "adc a,e"
�� "adc a,h"
�� "adc a,l"
�� "adc a,(hl)"
�� "adc a,a"
�� "sub b"
�� "sub c"
�� "sub d"
�� "sub e"
�� "sub h"
�� "sub l"
�� "sub (hl)"
� "sub a"
� "sbc a,b"
� "sbc a,c"
� "sbc a,d"
(� "sbc a,e"
2� "sbc a,h"
<� "sbc a,l"
F� "sbc a,(hl)"
P� "sbc a,a"
Z� "and b"
d� "and c"
n� "and d"
x� "and e"
�� "and h"
�� "and l"
�� "and (hl)"
�� "and a"
�� "xor b"
�� "xor c"
�� "xor d"
�� "xor e"
�� "xor h"
�� "xor l"
�� "xor (hl)"
�� "xor a"
�� "or b"
� "or c"
� "or d"
� "or e"
"� "or h"
,� "or l"
6� "or (hl)"
@� "or a"
J� "cp b"
T� "cp c"
^� "cp d"
h� "cp e"
r� "cp h"
|� "cp l"
�� "cp (hl)"
�� "cp a"
�� "ret nz"
�� "pop bc"
�� "jp nz,NN"
�� "jp NN"
�� "call nz,NN"
�� "push bc"
�� "add N"
�� "rst 0"
�� "ret z"
�� "ret"
�� "jp z,NN"
� ""
� "call z,NN"
� "call NN"
&� "adc a,N"
0� "rst 8"
:� "ret nc"
D� "pop de"
N� "jp nc,NN"
X� "out (N),a"
b� "call nc,NN"
l� "push de"
v� "sub a,N"
�� "rst 16"
�� "ret c"
�� "exx"
�� "jp c,NN"
�� "in a,(N)"
�� "call c,NN"
�� ""
�� "sbc a,N"
�� "rst 24"
�� "ret po"
�� "pop hl"
�� "jp po,NN"
�� "ex (sp),hl"
� "call po,NN"
� "push hl"
� "and N"
� "rst 32"
*� "ret pe"
4� "jp hl"
>� "jp pe,NN"
H� "ex de,hl"
R� "call pe,NN"
\� ""
f� "xor N"
p� "rst 40"
z� "ret p"
�� "pop af"
�� "jp p,NN"
�
� "di"
�� "call p,NN"
�� "push af"
�� "or N"
�� "rst 48"
�� "ret m"
�� "ld sp,hl"
�� "jp m,NN"
�
� "ei"
�� "call m,NN"
�� ""
� "cp N"
� "rst 56"
$.� =======================================
.� **** cb.decode
8.� =======================================
B
L� "rlc b"
V� "rlc c"
`� "rlc d"
j� "rlc e"
t� "rlc h"
~� "rlc l"
�� "rlc (hl)"
�� "rlc a"
�� "rrc b"
�� "rrc c"
�� "rrc d"
�� "rrc e"
�� "rrc h"
�� "rrc l"
�� "rrc (hl)"
�� "rrc a"
�� "rl b"
�� "rl c"
� "rl d"
� "rl e"
� "rl h"
� "rl l"
(� "rl (hl)"
2� "rl a"
<� "rr b"
F� "rr c"
P� "rr d"
Z� "rr e"
d� "rr h"
n� "rr l"
x� "rr (hl)"
�� "rr a"
�� "sla b"
�� "sla c"
�� "sla d"
�� "sla e"
�� "sla h"
�� "sla l"
�� "sla (hl)"
�� "sla a"
�� "sra b"
�� "sra c"
�� "sra d"
�� "sra e"
� "sra h"
� "sra l"
� "sra (hl)"
"� "sra a"
,� "sll b"
6� "sll c"
@� "sll d"
J� "sll e"
T� "sll h"
^� "sll l"
h� "sll (hl)"
r� "sll a"
|� "srl b"
�� "srl c"
�� "srl d"
�� "srl e"
�� "srl h"
�� "srl l"
�� "srl (hl)"
�� "srl a"
�� "bit 0,b"
�� "bit 0,c"
�� "bit 0,d"
�� "bit 0,e"
�� "bit 0,h"
�� "bit 0,l"
� "bit 0,(hl)"
� "bit 0,a"
� "bit 1,b"
&� "bit 1,c"
0� "bit 1,d"
:� "bit 1,e"
D� "bit 1,h"
N� "bit 1,l"
X� "bit 1,(hl)"
b� "bit 1,a"
l� "bit 2,b"
v� "bit 2,c"
�� "bit 2,d"
�� "bit 2,e"
�� "bit 2,h"
�� "bit 2,l"
�� "bit 2,(hl)"
�� "bit 2,a"
�� "bit 3,b"
�� "bit 3,c"
�� "bit 3,d"
�� "bit 3,e"
�� "bit 3,h"
�� "bit 3,l"
�� "bit 3,(hl)"
� "bit 3,a"
� "bit 4,b"
� "bit 4,c"
� "bit 4,d"
*� "bit 4,e"
4� "bit 4,h"
>� "bit 4,l"
H� "bit 4,(hl)"
R� "bit 4,a"
\� "bit 5,b"
f� "bit 5,c"
p� "bit 5,d"
z� "bit 5,e"
�� "bit 5,h"
�� "bit 5,l"
�� "bit 5,(hl)"
�� "bit 5,a"
�� "bit 6,b"
�� "bit 6,c"
�� "bit 6,d"
�� "bit 6,e"
�� "bit 6,h"
�� "bit 6,l"
�� "bit 6,(hl)"
�� "bit 6,a"
�� "bit 7,b"
� "bit 7,c"
� "bit 7,d"
� "bit 7,e"
$� "bit 7,h"
.� "bit 7,l"
8� "bit 7,(hl)"
B� "bit 7,a"
L� "res 0,b"
V� "res 0,c"
`� "res 0,d"
j� "res 0,e"
t� "res 0,h"
~� "res 0,l"
�� "res 0,(hl)"
�� "res 0,a"
�� "res 1,b"
�� "res 1,c"
�� "res 1,d"
�� "res 1,e"
�� "res 1,h"
�� "res 1,l"
�� "res 1,(hl)"
�� "res 1,a"
�� "res 2,b"
�� "res 2,c"
� "res 2,d"
� "res 2,e"
� "res 2,h"
� "res 2,l"
(� "res 2,(hl)"
2� "res 2,a"
<� "res 3,b"
F� "res 3,c"
P� "res 3,d"
Z� "res 3,e"
d� "res 3,h"
n� "res 3,l"
x� "res 3,(hl)"
�� "res 3,a"
�� "res 4,b"
�� "res 4,c"
�� "res 4,d"
�� "res 4,e"
�� "res 4,h"
�� "res 4,l"
�� "res 4,(hl)"
�� "res 4,a"
�� "res 5,b"
�� "res 5,c"
�� "res 5,d"
�� "res 5,e"
� "res 5,h"
� "res 5,l"
� "res 5,(hl)"
"� "res 5,a"
,� "res 6,b"
6� "res 6,c"
@� "res 6,d"
J� "res 6,e"
T� "res 6,h"
^� "res 6,l"
h� "res 6,(hl)"
r� "res 6,a"
|� "res 7,b"
�� "res 7,c"
�� "res 7,d"
�� "res 7,e"
�� "res 7,h"
�� "res 7,l"
�� "res 7,(hl)"
�� "res 7,a"
�� "set 0,b"
�� "set 0,c"
�� "set 0,d"
�� "set 0,e"
�� "set 0,h"
�� "set 0,l"
� "set 0,(hl)"
� "set 0,a"
� "set 1,b"
&� "set 1,c"
0� "set 1,d"
:� "set 1,e"
D� "set 1,h"
N� "set 1,l"
X� "set 1,(hl)"
b� "set 1,a"
l� "set 2,b"
v� "set 2,c"
�� "set 2,d"
�� "set 2,e"
�� "set 2,h"
�� "set 2,l"
�� "set 2,(hl)"
�� "set 2,a"
�� "set 3,b"
�� "set 3,c"
�� "set 3,d"
�� "set 3,e"
�� "set 3,h"
�� "set 3,l"
�� "set 3,(hl)"
!� "set 3,a"
!� "set 4,b"
!� "set 4,c"
! � "set 4,d"
!*� "set 4,e"
!4� "set 4,h"
!>� "set 4,l"
!H� "set 4,(hl)"
!R� "set 4,a"
!\� "set 5,b"
!f� "set 5,c"
!p� "set 5,d"
!z� "set 5,e"
!�� "set 5,h"
!�� "set 5,l"
!�� "set 5,(hl)"
!�� "set 5,a"
!�� "set 6,b"
!�� "set 6,c"
!�� "set 6,d"
!�� "set 6,e"
!�� "set 6,h"
!�� "set 6,l"
!�� "set 6,(hl)"
!�� "set 6,a"
!�� "set 7,b"
"� "set 7,c"
"� "set 7,d"
"� "set 7,e"
"$� "set 7,h"
".� "set 7,l"
"8� "set 7,(hl)"
"B� "set 7,a"
"L
"V.� =======================================
"`� **** ed.decode
"j.� =======================================
"t
"~
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
"�
� "??"
#
� "??"
#
� "??"
#
� "??"
#
� "??"
#(
� "??"
#2
� "??"
#<
� "??"
#F
� "??"
#P
� "??"
#Z
� "??"
#d
� "??"
#n
� "??"
#x
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
#�
� "??"
$
� "??"
$
� "??"
$
� "??"
$"
� "??"
$,
� "??"
$6
� "??"
$@
� "??"
$J
� "??"
$T
� "??"
$^
� "??"
$h
� "??"
$r
� "??"
$|
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�
� "??"
$�� "in b,(c)"
%� "out (c),b"
%� "sbc hl,bc"
%� "ld (NN),bc"
%&� "neg"
%0� "retn"
%:� "im 0"
%D� "ld i,a"
%N� "in c,(c)"
%X� "out (c),c"
%b� "adc hl,bc"
%l� "ld bc,(NN)"
%v
� "??"
%�� "reti"
%�
� "??"
%�� "ld r,a"
%�� "in d,(c)"
%�� "out (c),d"
%�� "sbc hl,de"
%�� "ld (NN),de"
%�
� "??"
%�
� "??"
%�� "im 1"
%�� "ld a,i"
%�� "in e,(c)"
%�� "out (c),e"
&� "adc hl,de"
&� "ld de,(NN)"
&
� "??"
&
� "??"
&*� "im 2"
&4� "ld a,r"
&>� "in h,(c)"
&H� "out (c),h"
&R� "sbc hl,hl"
&\� "ld (NN),hl"
&f
� "??"
&p
� "??"
&z
� "??"
&�� "rrd"
&�� "in l,(c)"
&�� "out (c),l"
&�� "adc hl,hl"
&�� "ld hl,(NN)"
&�
� "??"
&�
� "??"
&�
� "??"
&�� "rld"
&�� "in f,(c)"
&�
� "??"
&�� "sbc hl,sp"
&�� "ld (NN),sp"
'
� "??"
'
� "??"
'
� "??"
'$
� "??"
'.� "in a,(c)"
'8� "out (c),a"
'B� "adc hl,sp"
'L� "ld sp,(NN)"
'V
� "??"
'`
� "??"
'j
� "??"
't
� "??"
'~
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
'�
� "??"
(
� "??"
(
� "??"
(
� "??"
(
� "??"
((
� "??"
(2
� "??"
(<
� "??"
(F
� "??"
(P
� "??"
(Z
� "??"
(d
� "??"
(n
� "??"
(x
� "??"
(�
� "??"
(�
� "??"
(�
� "??"
(�
� "??"
(�
� "??"
(�
� "??"
(�� "ldi"
(�� "cpi"
(�� "ini"
(�� "outi"
(�
� "??"
(�
� "??"
(�
� "??"
)
� "??"
)� "ldd"
)� "cpd"
)"� "ind"
),� "outd"
)6
� "??"
)@
� "??"
)J
� "??"
)T
� "??"
)^� "ldir"
)h� "cpir"
)r� "inir"
)|� "otir"
)�
� "??"
)�
� "??"
)�
� "??"
)�
� "??"
)�� "lddr"
)�� "cpdr"
)�� "indr"
)�� "otdr"
)�
� "??"
)�
� "??"
)�
� "??"
)�
� "??"
)�
� "??"
*
� "??"
*
� "??"
*
� "??"
*&
� "??"
*0
� "??"
*:
� "??"
*D
� "??"
*N
� "??"
*X
� "??"
*b
� "??"
*l
� "??"
*v
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
*�
� "??"
+
� "??"
+
� "??"
+
� "??"
+
� "??"
+*
� "??"
+4
� "??"
+>
� "??"
+H
� "??"
+R
� "??"
+\
� "??"
+f
� "??"
+p
� "??"
+z
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
+�
� "??"
,
� "??"
,
� "??"
,
� "??"
,$
� "??"
,.
� "??"
,8
� "??"
,B
� "??"
,L
� "??"
,V
� "??"
,`
� "??"
,j
� "??"
,t
� "??"
,~
,�.� =======================================
,�� **** ix.decode
,�.� =======================================
,�
,�
� "??"
,�
� "??"
,�
� "??"
,�
� "??"
,�
� "??"
,�
� "??"
,�
� "??"
,�
� "??"
-
� "??"
-
� "add ix,bc"
-
� "??"
-
� "??"
-(
� "??"
-2
� "??"
-<
� "??"
-F
� "??"
-P
� "??"
-Z
� "??"
-d
� "??"
-n
� "??"
-x
� "??"
-�
� "??"
-�
� "??"
-�
� "??"
-�
� "??"
-�� "add ix,de"
-�
� "??"
-�
� "??"
-�
� "??"
-�
� "??"
-�
� "??"
-�
� "??"
-�
� "??"
-�� "ld ix,NN"
.� "ld (NN),ix"
.� "inc ix"
.� "inc ixh"
."� "dec ixh"
.,� "ld ixh,N"
.6
� "??"
.@
� "??"
.J� "add ix,ix"
.T� "ld ix,(NN)"
.^� "dec ix"
.h� "inc ixl"
.r� "dec ixl"
.|� "ld ixl,N"
.�
� "??"
.�
� "??"
.�
� "??"
.�
� "??"
.�
� "??"
.�� "inc (ixIDS)"
.�� "dec (ixIDS)"
.�� "ld (ixIDS),N"
.�
� "??"
.�
� "??"
.�� "add ix,sp"
.�
� "??"
.�
� "??"
/
� "??"
/
� "??"
/
� "??"
/&
� "??"
/0
� "??"
/:
� "??"
/D
� "??"
/N
� "??"
/X� "ld b,ixh"
/b� "ld b,ixl"
/l� "ld b,(ixIDS)"
/v
� "??"
/�
� "??"
/�
� "??"
/�
� "??"
/�
� "??"
/�� "ld c,ich"
/�� "ld c,ixh"
/�� "ld c,(ixIDS)"
/�
� "??"
/�
� "??"
/�
� "??"
/�
� "??"
/�
� "??"
/�� "ld d,ixh"
0� "ld d,ixl"
0� "ld d,(ixIDS)"
0
� "??"
0
� "??"
0*
� "??"
04
� "??"
0>
� "??"
0H� "ld e,ixh"
0R� "ld e,ixl"
0\� "ld e,(ixIDS)"
0f
� "??"
0p� "ld ixh,b"
0z� "ld ixh,c"
0�� "ld ixh,d"
0�� "ld ixh,e"
0�� "ld ixh,h"
0�� "ld ixh,l"
0�� "ld h,(ixIDS)"
0�� "ld ixh,a"
0�� "ld ixl,b"
0�� "ld ixl,c"
0�� "ld ixl,d"
0�� "ld ixl,e"
0�� "ld ixl,h"
0�� "ld ixl,l"
0�� "ld l,(ixIDS)"
1� "ld ixl,a"
1� "ld (ixIDS),b"
1� "ld (ixIDS),c"
1$� "ld (ixIDS),d"
1.� "ld (ixIDS),e"
18� "ld (ixIDS),h"
1B� "ld (ixIDS),l"
1L
� "??"
1V� "ld (ixIDS),a"
1`
� "??"
1j
� "??"
1t
� "??"
1~
� "??"
1�� "ld a,ixh"
1�� "ld a,ixl"
1�� "ld a,(ixIDS)"
1�
� "??"
1�
� "??"
1�
� "??"
1�
� "??"
1�
� "??"
1�� "add a,ixh"
1�� "add a,ixl"
1�� "add a,(ixIDS)"
1�
� "??"
2
� "??"
2
� "??"
2
� "??"
2
� "??"
2(� "adc a,ixh"
22� "adc a,ixl"
2<� "adc a,(ixIDS)"
2F
� "??"
2P
� "??"
2Z
� "??"
2d
� "??"
2n
� "??"
2x� "sub a,ixh"
2�� "sub a,ixl"
2�� "sub a,(ixIDS)"
2�
� "??"
2�
� "??"
2�
� "??"
2�
� "??"
2�
� "??"
2�� "sbc a,ixh"
2�� "sbc a,ixl"
2�� "sbc a,(ixIDS)"
2�
� "??"
2�
� "??"
2�
� "??"
3
� "??"
3
� "??"
3� "and ixh"
3"� "and ixl"
3,� "and (ixIDS)"
36
� "??"
3@
� "??"
3J
� "??"
3T
� "??"
3^
� "??"
3h� "xor ixh"
3r� "xor ixl"
3|� "xor (ixIDS)"
3�
� "??"
3�
� "??"
3�
� "??"
3�
� "??"
3�
� "??"
3�� "or ixh"
3�� "or ixl"
3�� "or (ixIDS)"
3�
� "??"
3�
� "??"
3�
� "??"
3�
� "??"
3�
� "??"
4� "cp ixh"
4� "cp ixl"
4� "cp (ixIDS)"
4&
� "??"
40
� "??"
4:
� "??"
4D
� "??"
4N
� "??"
4X
� "??"
4b
� "??"
4l
� "??"
4v
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
4�
� "??"
5
� "??"
5
� "??"
5
� "??"
5
� "??"
5*
� "??"
54
� "??"
5>
� "??"
5H
� "??"
5R
� "??"
5\
� "??"
5f
� "??"
5p
� "??"
5z� "pop ix"
5�
� "??"
5�� "ex (sp),ix"
5�
� "??"
5�� "push ix"
5�
� "??"
5�
� "??"
5�
� "??"
5�� "jp ix"
5�
� "??"
5�� "ex de,ix"
5�
� "??"
5�
� "??"
5�
� "??"
6
� "??"
6
� "??"
6
� "??"
6$
� "??"
6.
� "??"
68
� "??"
6B
� "??"
6L
� "??"
6V
� "??"
6`
� "??"
6j� "ld sp,ix"
6t
� "??"
6~
� "??"
6�
� "??"
6�
� "??"
6�
� "??"
6�
� "??"
6�
6�.� =======================================
6�� **** ixcb.decode
6�.� =======================================
6�
6�� "?? (ixIDS)"
6�� "?? (ixIDS)"
6�� "?? (ixIDS)"
7 � "?? (ixIDS)"
7
� "?? (ixIDS)"
7� "?? (ixIDS)"
7� "rlc (ixIDS)"
7(� "?? (ixIDS)"
72� "?? (ixIDS)"
7<� "?? (ixIDS)"
7F� "?? (ixIDS)"
7P� "?? (ixIDS)"
7Z� "?? (ixIDS)"
7d� "?? (ixIDS)"
7n� "rrc (ixIDS)"
7x� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "rl (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
7�� "?? (ixIDS)"
8� "?? (ixIDS)"
8� "rr (ixIDS)"
8� "?? (ixIDS)"
8"� "?? (ixIDS)"
8,� "?? (ixIDS)"
86� "?? (ixIDS)"
8@� "?? (ixIDS)"
8J� "?? (ixIDS)"
8T� "?? (ixIDS)"
8^� "sla (ixIDS)"
8h� "?? (ixIDS)"
8r� "?? (ixIDS)"
8|� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "sra (ixIDS)"
8�� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "?? (ixIDS)"
8�� "sll (ixIDS)"
9� "?? (ixIDS)"
9� "?? (ixIDS)"
9� "?? (ixIDS)"
9&� "?? (ixIDS)"
90� "?? (ixIDS)"
9:� "?? (ixIDS)"
9D� "?? (ixIDS)"
9N� "srl (ixIDS)"
9X� "?? (ixIDS)"
9b� "?? (ixIDS)"
9l� "?? (ixIDS)"
9v� "?? (ixIDS)"
9�� "?? (ixIDS)"
9�� "?? (ixIDS)"
9�� "?? (ixIDS)"
9�� "bit 0,(ixIDS)"
9�� "?? (ixIDS)"
9�� "?? (ixIDS)"
9�� "?? (ixIDS)"
9�� "?? (ixIDS)"
9�� "?? (ixIDS)"
9�� "?? (ixIDS)"
9�� "?? (ixIDS)"
9�� "bit 1,(ixIDS)"
9�� "?? (ixIDS)"
:� "?? (ixIDS)"
:� "?? (ixIDS)"
:� "?? (ixIDS)"
: � "?? (ixIDS)"
:*� "?? (ixIDS)"
:4� "?? (ixIDS)"
:>� "bit 2,(ixIDS)"
:H� "?? (ixIDS)"
:R� "?? (ixIDS)"
:\� "?? (ixIDS)"
:f� "?? (ixIDS)"
:p� "?? (ixIDS)"
:z� "?? (ixIDS)"
:�� "?? (ixIDS)"
:�� "bit 3,(ixIDS)"
:�� "?? (ixIDS)"
:�� "?? (ixIDS)"
:�� "?? (ixIDS)"
:�� "?? (ixIDS)"
:�� "?? (ixIDS)"
:�� "?? (ixIDS)"
:�� "?? (ixIDS)"
:�� "bit 4,(ixIDS)"
:�� "?? (ixIDS)"
:�� "?? (ixIDS)"
:�� "?? (ixIDS)"
;� "?? (ixIDS)"
;� "?? (ixIDS)"
;� "?? (ixIDS)"
;$� "?? (ixIDS)"
;.� "bit 5,(ixIDS)"
;8� "?? (ixIDS)"
;B� "?? (ixIDS)"
;L� "?? (ixIDS)"
;V� "?? (ixIDS)"
;`� "?? (ixIDS)"
;j� "?? (ixIDS)"
;t� "?? (ixIDS)"
;~� "bit 6,(ixIDS)"
;�� "?? (ixIDS)"
;�� "?? (ixIDS)"
;�� "?? (ixIDS)"
;�� "?? (ixIDS)"
;�� "?? (ixIDS)"
;�� "?? (ixIDS)"
;�� "?? (ixIDS)"
;�� "bit 7,(ixIDS)"
;�� "?? (ixIDS)"
;�� "?? (ixIDS)"
;�� "?? (ixIDS)"
;�� "?? (ixIDS)"
<