diff --git a/cpu/minx/cpu.h b/cpu/minx/cpu.h new file mode 100644 index 0000000..4c14680 --- /dev/null +++ b/cpu/minx/cpu.h @@ -0,0 +1,1153 @@ +#define CPU s1c88 +#include "instruction.h" + +// TODO: fixed bits + +// TODO: argument flags + +// the instructions :) +const Instruction instructions[] = +{ +{"ADC A,A",0x01,0x08,1,0}, +{"ADC A,B",0x01,0x09,1,0}, +{"ADC A,[HL]",0x01,0x0B,1,0}, +{"ADC A,[NN+~0]",0x01,0x0C,2,1,8,262216}, +{"ADC A,[X+L]",0x04,0xACE,2,0}, +{"ADC A,[X+~0]",0x04,0x8CE,3,1,16,262216}, +{"ADC A,[X]",0x01,0x0E,1,0}, +{"ADC A,[Y+L]",0x04,0xBCE,2,0}, +{"ADC A,[Y+~0]",0x04,0x9CE,3,1,16,262216}, +{"ADC A,[Y]",0x01,0x0F,1,0}, +{"ADC A,[~0]",0x01,0x0D,3,1,8,262224}, +{"ADC A,~0",0x01,0x0A,2,1,8,131144}, +{"ADC BA,BA",0x04,0x4CF,2,0}, +{"ADC BA,HL",0x04,0x5CF,2,0}, +{"ADC BA,X",0x04,0x6CF,2,0}, +{"ADC BA,Y",0x04,0x7CF,2,0}, +{"ADC BA,~0",0x04,0x60CF,4,1,16,131152}, +{"ADC HL,BA",0x04,0x24CF,2,0}, +{"ADC HL,HL",0x04,0x25CF,2,0}, +{"ADC HL,X",0x04,0x26CF,2,0}, +{"ADC HL,Y",0x04,0x27CF,2,0}, +{"ADC HL,~0",0x04,0x61CF,4,1,16,131152}, +{"ADC [HL],A",0x04,0xCCE,2,0}, +{"ADC [HL],[X]",0x04,0xECE,2,0}, +{"ADC [HL],[Y]",0x04,0xFCE,2,0}, +{"ADC [HL],~0",0x04,0xDCE,3,1,16,131144}, +{"ADD A,A",0x01,0x00,1,0}, +{"ADD A,B",0x01,0x01,1,0}, +{"ADD A,[HL]",0x01,0x03,1,0}, +{"ADD A,[NN+~0]",0x01,0x04,2,1,8,262216}, +{"ADD A,[X+L]",0x04,0x2CE,2,0}, +{"ADD A,[X+~0]",0x04,0xCE,3,1,16,262216}, +{"ADD A,[X]",0x01,0x06,1,0}, +{"ADD A,[Y+L]",0x04,0x3CE,2,0}, +{"ADD A,[Y+~0]",0x04,0x1CE,3,1,16,262216}, +{"ADD A,[Y]",0x01,0x07,1,0}, +{"ADD A,[~0]",0x01,0x05,3,1,8,262224}, +{"ADD A,~0",0x01,0x02,2,1,8,131144}, +{"ADD BA,BA",0x04,0xCF,2,0}, +{"ADD BA,HL",0x04,0x1CF,2,0}, +{"ADD BA,X",0x04,0x2CF,2,0}, +{"ADD BA,Y",0x04,0x3CF,2,0}, +{"ADD BA,~0",0x01,0xC0,3,1,8,131152}, +{"ADD HL,BA",0x04,0x20CF,2,0}, +{"ADD HL,HL",0x04,0x21CF,2,0}, +{"ADD HL,X",0x04,0x22CF,2,0}, +{"ADD HL,Y",0x04,0x23CF,2,0}, +{"ADD HL,~0",0x01,0xC1,3,1,8,131152}, +{"ADD SP,BA",0x04,0x44CF,2,0}, +{"ADD SP,HL",0x04,0x45CF,2,0}, +{"ADD SP,~0",0x04,0x68CF,4,1,16,131152}, +{"ADD X,BA",0x04,0x40CF,2,0}, +{"ADD X,HL",0x04,0x41CF,2,0}, +{"ADD X,~0",0x01,0xC2,3,1,8,131152}, +{"ADD Y,BA",0x04,0x42CF,2,0}, +{"ADD Y,HL",0x04,0x43CF,2,0}, +{"ADD Y,~0",0x01,0xC3,3,1,8,131152}, +{"ADD [HL],A",0x04,0x4CE,2,0}, +{"ADD [HL],[X]",0x04,0x6CE,2,0}, +{"ADD [HL],[Y]",0x04,0x7CE,2,0}, +{"ADD [HL],~0",0x04,0x5CE,3,1,16,131144}, +{"ADDB A,A",0x01,0x00,1,0}, +{"ADDB A,B",0x01,0x01,1,0}, +{"ADDB A,[HL]",0x01,0x03,1,0}, +{"ADDB A,[NN+~0]",0x01,0x04,2,1,8,262216}, +{"ADDB A,[X+L]",0x04,0x2CE,2,0}, +{"ADDB A,[X+~0]",0x04,0xCE,3,1,16,262216}, +{"ADDB A,[X]",0x01,0x06,1,0}, +{"ADDB A,[Y+L]",0x04,0x3CE,2,0}, +{"ADDB A,[Y+~0]",0x04,0x1CE,3,1,16,262216}, +{"ADDB A,[Y]",0x01,0x07,1,0}, +{"ADDB A,[~0]",0x01,0x05,3,1,8,262224}, +{"ADDB A,~0",0x01,0x02,2,1,8,131144}, +{"ADDB [HL],A",0x04,0x4CE,2,0}, +{"ADDB [HL],[X]",0x04,0x6CE,2,0}, +{"ADDB [HL],[Y]",0x04,0x7CE,2,0}, +{"ADDB [HL],~0",0x04,0x5CE,3,1,16,131144}, +{"ADDCB A,A",0x01,0x08,1,0}, +{"ADDCB A,B",0x01,0x09,1,0}, +{"ADDCB A,[HL]",0x01,0x0B,1,0}, +{"ADDCB A,[NN+~0]",0x01,0x0C,2,1,8,262216}, +{"ADDCB A,[X+L]",0x04,0xACE,2,0}, +{"ADDCB A,[X+~0]",0x04,0x8CE,3,1,16,262216}, +{"ADDCB A,[X]",0x01,0x0E,1,0}, +{"ADDCB A,[Y+L]",0x04,0xBCE,2,0}, +{"ADDCB A,[Y+~0]",0x04,0x9CE,3,1,16,262216}, +{"ADDCB A,[Y]",0x01,0x0F,1,0}, +{"ADDCB A,[~0]",0x01,0x0D,3,1,8,262224}, +{"ADDCB A,~0",0x01,0x0A,2,1,8,131144}, +{"ADDCB [HL],A",0x04,0xCCE,2,0}, +{"ADDCB [HL],[X]",0x04,0xECE,2,0}, +{"ADDCB [HL],[Y]",0x04,0xFCE,2,0}, +{"ADDCB [HL],~0",0x04,0xDCE,3,1,16,131144}, +{"ADDCW BA,BA",0x04,0x4CF,2,0}, +{"ADDCW BA,HL",0x04,0x5CF,2,0}, +{"ADDCW BA,X",0x04,0x6CF,2,0}, +{"ADDCW BA,Y",0x04,0x7CF,2,0}, +{"ADDCW HL,BA",0x04,0x24CF,2,0}, +{"ADDCW HL,HL",0x04,0x25CF,2,0}, +{"ADDCW HL,X",0x04,0x26CF,2,0}, +{"ADDCW HL,Y",0x04,0x27CF,2,0}, +{"ADDW BA,BA",0x04,0xCF,2,0}, +{"ADDW BA,HL",0x04,0x1CF,2,0}, +{"ADDW BA,X",0x04,0x2CF,2,0}, +{"ADDW BA,Y",0x04,0x3CF,2,0}, +{"ADDW BA,~0",0x01,0xC0,3,1,8,131152}, +{"ADDW HL,BA",0x04,0x20CF,2,0}, +{"ADDW HL,HL",0x04,0x21CF,2,0}, +{"ADDW HL,X",0x04,0x22CF,2,0}, +{"ADDW HL,Y",0x04,0x23CF,2,0}, +{"ADDW HL,~0",0x01,0xC1,3,1,8,131152}, +{"ADDW SP,BA",0x04,0x44CF,2,0}, +{"ADDW SP,HL",0x04,0x45CF,2,0}, +{"ADDW SP,~0",0x04,0x68CF,4,1,16,131152}, +{"ADDW X,~0",0x01,0xC2,3,1,8,131152}, +{"ADDW X,BA",0x04,0x40CF,2,0}, +{"ADDW X,HL",0x04,0x41CF,2,0}, +{"ADDW Y,BA",0x04,0x42CF,2,0}, +{"ADDW Y,HL",0x04,0x43CF,2,0}, +{"ADDW Y,~0",0x01,0xC3,3,1,8,131152}, +{"AND A,A",0x01,0x20,1,0}, +{"AND A,B",0x01,0x21,1,0}, +{"AND A,[HL]",0x01,0x23,1,0}, +{"AND A,[NN+~0]",0x01,0x24,2,1,8,262216}, +{"AND A,[X+L]",0x04,0x22CE,2,0}, +{"AND A,[X+~0]",0x04,0x20CE,3,1,16,262216}, +{"AND A,[X]",0x01,0x26,1,0}, +{"AND A,[Y+L]",0x04,0x23CE,2,0}, +{"AND A,[Y+~0]",0x04,0x21CE,3,1,16,262216}, +{"AND A,[Y]",0x01,0x27,1,0}, +{"AND A,[~0]",0x01,0x25,3,1,8,262224}, +{"AND A,~0",0x01,0x22,2,1,8,131144}, +{"AND B,~0",0x04,0xB0CE,3,1,16,131144}, +{"AND F,~0",0x01,0x9C,2,1,8,131144}, +{"AND H,~0",0x04,0xB2CE,3,1,16,131144}, +{"AND L,~0",0x04,0xB1CE,3,1,16,131144}, +{"AND [HL],A",0x04,0x24CE,2,0}, +{"AND [HL],[X]",0x04,0x26CE,2,0}, +{"AND [HL],[Y]",0x04,0x27CE,2,0}, +{"AND [HL],~0",0x04,0x25CE,3,1,16,131144}, +{"AND [NN+~0],~1",0x01,0xD8,3,2,8,131144,16,262216}, +{"ANDB A,A",0x01,0x20,1,0}, +{"ANDB A,B",0x01,0x21,1,0}, +{"ANDB A,[HL]",0x01,0x23,1,0}, +{"ANDB A,[NN+~0]",0x01,0x24,2,1,8,262216}, +{"ANDB A,[X+L]",0x04,0x22CE,2,0}, +{"ANDB A,[X+~0]",0x04,0x20CE,3,1,16,262216}, +{"ANDB A,[X]",0x01,0x26,1,0}, +{"ANDB A,[Y+L]",0x04,0x23CE,2,0}, +{"ANDB A,[Y+~0]",0x04,0x21CE,3,1,16,262216}, +{"ANDB A,[Y]",0x01,0x27,1,0}, +{"ANDB A,[~0]",0x01,0x25,3,1,8,262224}, +{"ANDB A,~0",0x01,0x22,2,1,8,131144}, +{"ANDB B,~0",0x04,0xB0CE,3,1,16,131144}, +{"ANDB FLAGS,~0",0x01,0x9C,2,1,8,131144}, +{"ANDB H,~0",0x04,0xB2CE,3,1,16,131144}, +{"ANDB L,~0",0x04,0xB1CE,3,1,16,131144}, +{"ANDB [HL],A",0x04,0x24CE,2,0}, +{"ANDB [HL],[X]",0x04,0x26CE,2,0}, +{"ANDB [HL],[Y]",0x04,0x27CE,2,0}, +{"ANDB [HL],~0",0x04,0x25CE,3,1,16,131144}, +{"ANDB [NN+~0],~1",0x01,0xD8,3,2,8,131144,16,262216}, +{"BCDD",0x01,0xDF,1,0}, +{"BCDE",0x01,0xDE,1,0}, +{"BCDX A",0x01,0xF6,1,0}, +{"BCDX [HL]",0x01,0xF7,1,0}, +{"CALL [~0]",0x01,0xFB,3,1,8,262224}, +{"CALL ~0",0x03,0xF2,3,1,8,400}, +{"CALLB ~0",0x03,0xF0,2,1,8,392}, +{"CALLC ~0",0x03,0xE8,3,1,8,400}, +{"CALLCB ~0",0x03,0xE0,2,1,8,392}, +{"CALLCW ~0",0x03,0xE8,3,1,8,400}, +{"CALLG ~0",0x06,0xF2CE,3,1,16,392}, +{"CALLGE ~0",0x06,0xF3CE,3,1,16,392}, +{"CALLL ~0",0x06,0xF0CE,3,1,16,392}, +{"CALLLE ~0",0x06,0xF1CE,3,1,16,392}, +{"CALLNC ~0",0x03,0xE9,3,1,8,400}, +{"CALLNCB ~0",0x03,0xE1,2,1,8,392}, +{"CALLNCW ~0",0x03,0xE9,3,1,8,400}, +{"CALLNO ~0",0x06,0xF5CE,3,1,16,392}, +{"CALLNS ~0",0x06,0xF6CE,3,1,16,392}, +{"CALLNZ ~0",0x03,0xEB,3,1,8,400}, +{"CALLNZB ~0",0x03,0xE3,2,1,8,392}, +{"CALLNZW ~0",0x03,0xEB,3,1,8,400}, +{"CALLO ~0",0x06,0xF4CE,3,1,16,392}, +{"CALLS ~0",0x06,0xF7CE,3,1,16,392}, +{"CALLW ~0",0x03,0xF2,3,1,8,400}, +{"CALLZ ~0",0x03,0xEA,3,1,8,400}, +{"CALLZB ~0",0x03,0xE2,2,1,8,392}, +{"CALLZW ~0",0x03,0xEA,3,1,8,400}, +{"CINT ~0",0x01,0xFC,2,1,9,524359}, +{"CMP A,A",0x01,0x30,1,0}, +{"CMP A,B",0x01,0x31,1,0}, +{"CMP A,[HL]",0x01,0x33,1,0}, +{"CMP A,[NN+~0]",0x01,0x34,2,1,8,262216}, +{"CMP A,[X+L]",0x04,0x32CE,2,0}, +{"CMP A,[X+~0]",0x04,0x30CE,3,1,16,262216}, +{"CMP A,[X]",0x01,0x36,1,0}, +{"CMP A,[Y+L]",0x04,0x33CE,2,0}, +{"CMP A,[Y+~0]",0x04,0x31CE,3,1,16,262216}, +{"CMP A,[Y]",0x01,0x37,1,0}, +{"CMP A,[~0]",0x01,0x35,3,1,8,262224}, +{"CMP A,~0",0x01,0x32,2,1,8,131144}, +{"CMP B,~0",0x04,0xBCCE,3,1,16,131144}, +{"CMP BA,BA",0x04,0x18CF,2,0}, +{"CMP BA,HL",0x04,0x19CF,2,0}, +{"CMP BA,X",0x04,0x1ACF,2,0}, +{"CMP BA,Y",0x04,0x1BCF,2,0}, +{"CMP BA,~0",0x01,0xD4,3,1,8,131152}, +{"CMP H,~0",0x04,0xBECE,3,1,16,131144}, +{"CMP HL,BA",0x04,0x38CF,2,0}, +{"CMP HL,HL",0x04,0x39CF,2,0}, +{"CMP HL,X",0x04,0x3ACF,2,0}, +{"CMP HL,Y",0x04,0x3BCF,2,0}, +{"CMP HL,~0",0x01,0xD5,3,1,8,131152}, +{"CMP L,~0",0x04,0xBDCE,3,1,16,131144}, +{"CMP NN,~0",0x04,0xBFCE,3,1,16,131144}, +{"CMP SP,BA",0x04,0x5CCF,2,0}, +{"CMP SP,HL",0x04,0x5DCF,2,0}, +{"CMP SP,~0",0x04,0x6CCF,4,1,16,131152}, +{"CMP X,~0",0x01,0xD6,3,1,8,131152}, +{"CMP Y,~0",0x01,0xD7,3,1,8,131152}, +{"CMP [HL],A",0x04,0x34CE,2,0}, +{"CMP [HL],[X]",0x04,0x36CE,2,0}, +{"CMP [HL],[Y]",0x04,0x37CE,2,0}, +{"CMP [HL],~0",0x04,0x35CE,3,1,16,131144}, +{"CMP [NN+~0],~1",0x01,0xDB,3,2,8,131144,16,262216}, +{"CMPB A,A",0x01,0x30,1,0}, +{"CMPB A,B",0x01,0x31,1,0}, +{"CMPB A,[HL]",0x01,0x33,1,0}, +{"CMPB A,[NN+~0]",0x01,0x34,2,1,8,262216}, +{"CMPB A,[X+L]",0x04,0x32CE,2,0}, +{"CMPB A,[X+~0]",0x04,0x30CE,3,1,16,262216}, +{"CMPB A,[X]",0x01,0x36,1,0}, +{"CMPB A,[Y+L]",0x04,0x33CE,2,0}, +{"CMPB A,[Y+~0]",0x04,0x31CE,3,1,16,262216}, +{"CMPB A,[Y]",0x01,0x37,1,0}, +{"CMPB A,[~0]",0x01,0x35,3,1,8,262224}, +{"CMPB A,~0",0x01,0x32,2,1,8,131144}, +{"CMPB B,~0",0x04,0xBCCE,3,1,16,131144}, +{"CMPB H,~0",0x04,0xBECE,3,1,16,131144}, +{"CMPB L,~0",0x04,0xBDCE,3,1,16,131144}, +{"CMPB NN,~0",0x04,0xBFCE,3,1,16,131144}, +{"CMPB [HL],A",0x04,0x34CE,2,0}, +{"CMPB [HL],[X]",0x04,0x36CE,2,0}, +{"CMPB [HL],[Y]",0x04,0x37CE,2,0}, +{"CMPB [HL],~0",0x04,0x35CE,3,1,16,131144}, +{"CMPB [NN+~0],~1",0x01,0xDB,3,2,8,131144,16,262216}, +{"CMPNW BA,~0",0x04,0x60CF,4,1,16,131152}, +{"CMPNW HL,~0",0x04,0x61CF,4,1,16,131152}, +{"CMPNW X,~0",0x04,0x62CF,4,1,16,131152}, +{"CMPNW Y,~0",0x04,0x63CF,4,1,16,131152}, +{"CMPW BA,BA",0x04,0x18CF,2,0}, +{"CMPW BA,HL",0x04,0x19CF,2,0}, +{"CMPW BA,X",0x04,0x1ACF,2,0}, +{"CMPW BA,Y",0x04,0x1BCF,2,0}, +{"CMPW BA,~0",0x01,0xD4,3,1,8,131152}, +{"CMPW HL,BA",0x04,0x38CF,2,0}, +{"CMPW HL,HL",0x04,0x39CF,2,0}, +{"CMPW HL,X",0x04,0x3ACF,2,0}, +{"CMPW HL,Y",0x04,0x3BCF,2,0}, +{"CMPW HL,~0",0x01,0xD5,3,1,8,131152}, +{"CMPW SP,BA",0x04,0x5CCF,2,0}, +{"CMPW SP,HL",0x04,0x5DCF,2,0}, +{"CMPW SP,~0",0x04,0x6CCF,4,1,16,131152}, +{"CMPW X,~0",0x01,0xD6,3,1,8,131152}, +{"CMPW Y,~0",0x01,0xD7,3,1,8,131152}, +{"DEC A",0x01,0x88,1,0}, +{"DEC B",0x01,0x89,1,0}, +{"DEC BA",0x01,0x98,1,0}, +{"DEC H",0x01,0x8B,1,0}, +{"DEC HL",0x01,0x99,1,0}, +{"DEC L",0x01,0x8A,1,0}, +{"DEC NN",0x01,0x8C,1,0}, +{"DEC SP",0x01,0x8F,1,0}, +{"DEC X",0x01,0x9A,1,0}, +{"DEC Y",0x01,0x9B,1,0}, +{"DEC [HL]",0x01,0x8E,1,0}, +{"DEC [NN+~0]",0x01,0x8D,2,1,8,262216}, +{"DECB A",0x01,0x88,1,0}, +{"DECB B",0x01,0x89,1,0}, +{"DECB H",0x01,0x8B,1,0}, +{"DECB L",0x01,0x8A,1,0}, +{"DECB NN",0x01,0x8C,1,0}, +{"DECB [HL]",0x01,0x8E,1,0}, +{"DECB [NN+~0]",0x01,0x8D,2,1,8,262216}, +{"DECW BA",0x01,0x98,1,0}, +{"DECW HL",0x01,0x99,1,0}, +{"DECW SP",0x01,0x8F,1,0}, +{"DECW X",0x01,0x9A,1,0}, +{"DECW Y",0x01,0x9B,1,0}, +{"DIV HL,A",0x04,0xD9CE,2,0}, +{"EX BA,A",0x04,0xA8CE,2,0}, +{"EXTS BA,A",0x04,0xA8CE,2,0}, +{"HALT",0x04,0xAECE,2,0}, +{"INC A",0x01,0x80,1,0}, +{"INC B",0x01,0x81,1,0}, +{"INC BA",0x01,0x90,1,0}, +{"INC H",0x01,0x83,1,0}, +{"INC HL",0x01,0x91,1,0}, +{"INC L",0x01,0x82,1,0}, +{"INC NN",0x01,0x84,1,0}, +{"INC SP",0x01,0x87,1,0}, +{"INC X",0x01,0x92,1,0}, +{"INC Y",0x01,0x93,1,0}, +{"INC [HL]",0x01,0x86,1,0}, +{"INC [NN+~0]",0x01,0x85,2,1,8,262216}, +{"INCB A",0x01,0x80,1,0}, +{"INCB B",0x01,0x81,1,0}, +{"INCB H",0x01,0x83,1,0}, +{"INCB L",0x01,0x82,1,0}, +{"INCB NN",0x01,0x84,1,0}, +{"INCB [HL]",0x01,0x86,1,0}, +{"INCB [NN+~0]",0x01,0x85,2,1,8,262216}, +{"INCW BA",0x01,0x90,1,0}, +{"INCW HL",0x01,0x91,1,0}, +{"INCW SP",0x01,0x87,1,0}, +{"INCW X",0x01,0x92,1,0}, +{"INCW Y",0x01,0x93,1,0}, +{"INT ~0",0x01,0xFC,2,1,9,524359}, +{"JC ~0",0x03,0xEC,3,1,8,400}, +{"JCB ~0",0x03,0xE4,2,1,8,392}, +{"JCW ~0",0x03,0xEC,3,1,8,400}, +{"JDBNZ ~0",0x03,0xF5,2,1,8,392}, +{"JG ~0",0x06,0xE2CE,3,1,16,392}, +{"JGE ~0",0x06,0xE3CE,3,1,16,392}, +{"JINT ~0",0x01,0xFD,2,1,9,524359}, +{"JL ~0",0x06,0xE0CE,3,1,16,392}, +{"JLE ~0",0x06,0xE1CE,3,1,16,392}, +{"JMP HL",0x01,0xF4,1,0}, +{"JMP ~0",0x03,0xF3,3,1,8,400}, +{"JMPB ~0",0x03,0xF1,2,1,8,392}, +{"JMPW ~0",0x03,0xF3,3,1,8,400}, +{"JNC ~0",0x03,0xED,3,1,8,400}, +{"JNCB ~0",0x03,0xE5,2,1,8,392}, +{"JNCW ~0",0x03,0xED,3,1,8,400}, +{"JNO ~0",0x06,0xE5CE,3,1,16,392}, +{"JNS ~0",0x06,0xE6CE,3,1,16,392}, +{"JNZ ~0",0x03,0xEF,3,1,8,400}, +{"JNZB ~0",0x03,0xE7,2,1,8,392}, +{"JNZW ~0",0x03,0xEF,3,1,8,400}, +{"JO ~0",0x06,0xE4CE,3,1,16,392}, +{"JS ~0",0x06,0xE7CE,3,1,16,392}, +{"JZ ~0",0x03,0xEE,3,1,8,400}, +{"JZB ~0",0x03,0xE6,2,1,8,392}, +{"JZW ~0",0x03,0xEE,3,1,8,400}, +{"MOV A,A",0x01,0x40,1,0}, +{"MOV A,B",0x01,0x41,1,0}, +{"MOV A,F",0x04,0xC1CE,2,0}, +{"MOV A,H",0x01,0x43,1,0}, +{"MOV A,I",0x04,0xC9CE,2,0}, +{"MOV A,L",0x01,0x42,1,0}, +{"MOV A,NN",0x04,0xC0CE,2,0}, +{"MOV A,V",0x04,0xC8CE,2,0}, +{"MOV A,XI",0x04,0xCACE,2,0}, +{"MOV A,YI",0x04,0xCBCE,2,0}, +{"MOV A,[HL]",0x01,0x45,1,0}, +{"MOV A,[NN+~0]",0x01,0x44,2,1,8,262216}, +{"MOV A,[X+L]",0x04,0x42CE,2,0}, +{"MOV A,[X+~0]",0x04,0x40CE,3,1,16,262216}, +{"MOV A,[X]",0x01,0x46,1,0}, +{"MOV A,[Y+L]",0x04,0x43CE,2,0}, +{"MOV A,[Y+~0]",0x04,0x41CE,3,1,16,262216}, +{"MOV A,[Y]",0x01,0x47,1,0}, +{"MOV A,[~0]",0x04,0xD0CE,4,1,16,262224}, +{"MOV A,~0",0x01,0xB0,2,1,8,131144}, +{"MOV B,A",0x01,0x48,1,0}, +{"MOV B,B",0x01,0x49,1,0}, +{"MOV B,H",0x01,0x4B,1,0}, +{"MOV B,L",0x01,0x4A,1,0}, +{"MOV B,[HL]",0x01,0x4D,1,0}, +{"MOV B,[NN+~0]",0x01,0x4C,2,1,8,262216}, +{"MOV B,[X+L]",0x04,0x4ACE,2,0}, +{"MOV B,[X+~0]",0x04,0x48CE,3,1,16,262216}, +{"MOV B,[X]",0x01,0x4E,1,0}, +{"MOV B,[Y+L]",0x04,0x4BCE,2,0}, +{"MOV B,[Y+~0]",0x04,0x49CE,3,1,16,262216}, +{"MOV B,[Y]",0x01,0x4F,1,0}, +{"MOV B,[~0]",0x04,0xD1CE,4,1,16,262224}, +{"MOV B,~0",0x01,0xB1,2,1,8,131144}, +{"MOV BA,BA",0x04,0xE0CF,2,0}, +{"MOV BA,HL",0x04,0xE1CF,2,0}, +{"MOV BA,PC",0x04,0xF9CF,2,0}, +{"MOV BA,SP",0x04,0xF8CF,2,0}, +{"MOV BA,X",0x04,0xE2CF,2,0}, +{"MOV BA,Y",0x04,0xE3CF,2,0}, +{"MOV BA,[HL]",0x04,0xC0CF,2,0}, +{"MOV BA,[SP+~0]",0x04,0x70CF,3,1,16,262216}, +{"MOV BA,[X]",0x04,0xD0CF,2,0}, +{"MOV BA,[Y]",0x04,0xD8CF,2,0}, +{"MOV BA,[~0]",0x01,0xB8,3,1,8,262224}, +{"MOV BA,~0",0x01,0xC4,3,1,8,131152}, +{"MOV F,A",0x04,0xC3CE,2,0}, +{"MOV F,~0",0x01,0x9F,2,1,8,131144}, +{"MOV H,A",0x01,0x58,1,0}, +{"MOV H,B",0x01,0x59,1,0}, +{"MOV H,H",0x01,0x5B,1,0}, +{"MOV H,L",0x01,0x5A,1,0}, +{"MOV H,[HL]",0x01,0x5D,1,0}, +{"MOV H,[NN+~0]",0x01,0x5C,2,1,8,262216}, +{"MOV H,[X+L]",0x04,0x5ACE,2,0}, +{"MOV H,[X+~0]",0x04,0x58CE,3,1,16,262216}, +{"MOV H,[X]",0x01,0x5E,1,0}, +{"MOV H,[Y+L]",0x04,0x5BCE,2,0}, +{"MOV H,[Y+~0]",0x04,0x59CE,3,1,16,262216}, +{"MOV H,[Y]",0x01,0x5F,1,0}, +{"MOV H,[~0]",0x04,0xD3CE,4,1,16,262224}, +{"MOV H,~0",0x01,0xB3,2,1,8,131144}, +{"MOV HL,BA",0x04,0xE4CF,2,0}, +{"MOV HL,HL",0x04,0xE5CF,2,0}, +{"MOV HL,PC",0x04,0xF5CF,2,0}, +{"MOV HL,SP",0x04,0xF4CF,2,0}, +{"MOV HL,X",0x04,0xE6CF,2,0}, +{"MOV HL,Y",0x04,0xE7CF,2,0}, +{"MOV HL,[HL]",0x04,0xC1CF,2,0}, +{"MOV HL,[SP+~0]",0x04,0x71CF,3,1,16,262216}, +{"MOV HL,[X]",0x04,0xD1CF,2,0}, +{"MOV HL,[Y]",0x04,0xD9CF,2,0}, +{"MOV HL,[~0]",0x01,0xB9,3,1,8,262224}, +{"MOV HL,~0",0x01,0xC5,3,1,8,131152}, +{"MOV I,A",0x04,0xCDCE,2,0}, +{"MOV I,~0",0x04,0xC5CE,3,1,16,131144}, +{"MOV L,A",0x01,0x50,1,0}, +{"MOV L,B",0x01,0x51,1,0}, +{"MOV L,H",0x01,0x53,1,0}, +{"MOV L,L",0x01,0x52,1,0}, +{"MOV L,[HL]",0x01,0x55,1,0}, +{"MOV L,[NN+~0]",0x01,0x54,2,1,8,262216}, +{"MOV L,[X+L]",0x04,0x52CE,2,0}, +{"MOV L,[X+~0]",0x04,0x50CE,3,1,16,262216}, +{"MOV L,[X]",0x01,0x56,1,0}, +{"MOV L,[Y+L]",0x04,0x53CE,2,0}, +{"MOV L,[Y+~0]",0x04,0x51CE,3,1,16,262216}, +{"MOV L,[Y]",0x01,0x57,1,0}, +{"MOV L,[~0]",0x04,0xD2CE,4,1,16,262224}, +{"MOV L,~0",0x01,0xB2,2,1,8,131144}, +{"MOV NN,A",0x04,0xC2CE,2,0}, +{"MOV NN,~0",0x01,0xB4,2,1,8,131144}, +{"MOV SP,BA",0x04,0xF0CF,2,0}, +{"MOV SP,HL",0x04,0xF1CF,2,0}, +{"MOV SP,X",0x04,0xF2CF,2,0}, +{"MOV SP,Y",0x04,0xF3CF,2,0}, +{"MOV SP,[~0]",0x04,0x78CF,4,1,16,262224}, +{"MOV SP,~0",0x04,0x6ECF,4,1,16,131152}, +{"MOV U,A",0x04,0xCCCE,2,0}, +{"MOV U,~0",0x04,0xC4CE,3,1,16,131144}, +{"MOV X,BA",0x04,0xE8CF,2,0}, +{"MOV X,HL",0x04,0xE9CF,2,0}, +{"MOV X,SP",0x04,0xFACF,2,0}, +{"MOV X,X",0x04,0xEACF,2,0}, +{"MOV X,Y",0x04,0xEBCF,2,0}, +{"MOV X,[HL]",0x04,0xC2CF,2,0}, +{"MOV X,[SP+~0]",0x04,0x72CF,3,1,16,262216}, +{"MOV X,[X]",0x04,0xD2CF,2,0}, +{"MOV X,[Y]",0x04,0xDACF,2,0}, +{"MOV X,[~0]",0x01,0xBA,3,1,8,262224}, +{"MOV X,~0",0x01,0xC6,3,1,8,131152}, +{"MOV Y,BA",0x04,0xECCF,2,0}, +{"MOV Y,HL",0x04,0xEDCF,2,0}, +{"MOV Y,X",0x04,0xEECF,2,0}, +{"MOV Y,Y",0x04,0xEFCF,2,0}, +{"MOV Y,[HL]",0x04,0xC3CF,2,0}, +{"MOV Y,[SP+~0]",0x04,0x73CF,3,1,16,262216}, +{"MOV Y,[X]",0x04,0xD3CF,2,0}, +{"MOV Y,[Y]",0x04,0xDBCF,2,0}, +{"MOV Y,[~0]",0x01,0xBB,3,1,8,262224}, +{"MOV Y,~0",0x01,0xC7,3,1,8,131152}, +{"MOV XI,A",0x04,0xCECE,2,0}, +{"MOV XI,~0",0x04,0xC6CE,3,1,16,131144}, +{"MOV Y,SP",0x04,0xFECF,2,0}, +{"MOV YI,A",0x04,0xCFCE,2,0}, +{"MOV YI,~0",0x04,0xC7CE,3,1,16,131144}, +{"MOV [HL],A",0x01,0x68,1,0}, +{"MOV [HL],B",0x01,0x69,1,0}, +{"MOV [HL],BA",0x04,0xC4CF,2,0}, +{"MOV [HL],H",0x01,0x6B,1,0}, +{"MOV [HL],HL",0x04,0xC5CF,2,0}, +{"MOV [HL],L",0x01,0x6A,1,0}, +{"MOV [HL],X",0x04,0xC6CF,2,0}, +{"MOV [HL],Y",0x04,0xC7CF,2,0}, +{"MOV [HL],[HL]",0x01,0x6D,1,0}, +{"MOV [HL],[NN+~0]",0x01,0x6C,2,1,8,262216}, +{"MOV [HL],[X+L]",0x04,0x62CE,2,0}, +{"MOV [HL],[X+~0]",0x04,0x60CE,3,1,16,262216}, +{"MOV [HL],[X]",0x01,0x6E,1,0}, +{"MOV [HL],[Y+L]",0x04,0x63CE,2,0}, +{"MOV [HL],[Y+~0]",0x04,0x61CE,3,1,16,262216}, +{"MOV [HL],[Y]",0x01,0x6F,1,0}, +{"MOV [HL],~0",0x01,0xB5,2,1,8,131144}, +{"MOV [NN+~0],A",0x01,0x78,2,1,8,262216}, +{"MOV [NN+~0],B",0x01,0x79,2,1,8,262216}, +{"MOV [NN+~0],H",0x01,0x7B,2,1,8,262216}, +{"MOV [NN+~0],L",0x01,0x7A,2,1,8,262216}, +{"MOV [NN+~0],[HL]",0x01,0x7D,2,1,8,262216}, +{"MOV [NN+~0],[X]",0x01,0x7E,2,1,8,262216}, +{"MOV [NN+~0],[Y]",0x01,0x7F,2,1,8,262216}, +{"MOV [NN+~0],~1",0x01,0xDD,3,2,8,131144,16,262216}, +{"MOV [SP+~0],BA",0x04,0x74CF,3,1,16,262216}, +{"MOV [SP+~0],HL",0x04,0x75CF,3,1,16,262216}, +{"MOV [SP+~0],X",0x04,0x76CF,3,1,16,262216}, +{"MOV [SP+~0],Y",0x04,0x77CF,3,1,16,262216}, +{"MOV [X+L],A",0x04,0x46CE,2,0}, +{"MOV [X+L],B",0x04,0x4ECE,2,0}, +{"MOV [X+L],H",0x04,0x5ECE,2,0}, +{"MOV [X+L],L",0x04,0x56CE,2,0}, +{"MOV [X+~0],A",0x04,0x44CE,3,1,16,262216}, +{"MOV [X+~0],B",0x04,0x4CCE,3,1,16,262216}, +{"MOV [X+~0],H",0x04,0x5CCE,3,1,16,262216}, +{"MOV [X+~0],L",0x04,0x54CE,3,1,16,262216}, +{"MOV [X],A",0x01,0x60,1,0}, +{"MOV [X],B",0x01,0x61,1,0}, +{"MOV [X],BA",0x04,0xD4CF,2,0}, +{"MOV [X],H",0x01,0x63,1,0}, +{"MOV [X],HL",0x04,0xD5CF,2,0}, +{"MOV [X],L",0x01,0x62,1,0}, +{"MOV [X],X",0x04,0xD6CF,2,0}, +{"MOV [X],Y",0x04,0xD7CF,2,0}, +{"MOV [X],[HL]",0x01,0x65,1,0}, +{"MOV [X],[NN+~0]",0x01,0x64,2,1,8,262216}, +{"MOV [X],[X+L]",0x04,0x6ACE,2,0}, +{"MOV [X],[X+~0]",0x04,0x68CE,3,1,16,262216}, +{"MOV [X],[X]",0x01,0x66,1,0}, +{"MOV [X],[Y+L]",0x04,0x6BCE,2,0}, +{"MOV [X],[Y+~0]",0x04,0x69CE,3,1,16,262216}, +{"MOV [X],[Y]",0x01,0x67,1,0}, +{"MOV [X],~0",0x01,0xB6,2,1,8,131144}, +{"MOV [Y+L],A",0x04,0x47CE,2,0}, +{"MOV [Y+L],B",0x04,0x4FCE,2,0}, +{"MOV [Y+L],H",0x04,0x5FCE,2,0}, +{"MOV [Y+L],L",0x04,0x57CE,2,0}, +{"MOV [Y+~0],A",0x04,0x45CE,3,1,16,262216}, +{"MOV [Y+~0],B",0x04,0x4DCE,3,1,16,262216}, +{"MOV [Y+~0],H",0x04,0x5DCE,3,1,16,262216}, +{"MOV [Y+~0],L",0x04,0x55CE,3,1,16,262216}, +{"MOV [Y],A",0x01,0x70,1,0}, +{"MOV [Y],B",0x01,0x71,1,0}, +{"MOV [Y],BA",0x04,0xDCCF,2,0}, +{"MOV [Y],H",0x01,0x73,1,0}, +{"MOV [Y],HL",0x04,0xDDCF,2,0}, +{"MOV [Y],L",0x01,0x72,1,0}, +{"MOV [Y],X",0x04,0xDECF,2,0}, +{"MOV [Y],Y",0x04,0xDFCF,2,0}, +{"MOV [Y],[HL]",0x01,0x75,1,0}, +{"MOV [Y],[NN+~0]",0x01,0x74,2,1,8,262216}, +{"MOV [Y],[X+L]",0x04,0x7ACE,2,0}, +{"MOV [Y],[X+~0]",0x04,0x78CE,3,1,16,262216}, +{"MOV [Y],[X]",0x01,0x76,1,0}, +{"MOV [Y],[Y+L]",0x04,0x7BCE,2,0}, +{"MOV [Y],[Y+~0]",0x04,0x79CE,3,1,16,262216}, +{"MOV [Y],[Y]",0x01,0x77,1,0}, +{"MOV [Y],~0",0x01,0xB7,2,1,8,131144}, +{"MOV [~0],A",0x04,0xD4CE,4,1,16,262224}, +{"MOV [~0],B",0x04,0xD5CE,4,1,16,262224}, +{"MOV [~0],BA",0x01,0xBC,3,1,8,262224}, +{"MOV [~0],H",0x04,0xD7CE,4,1,16,262224}, +{"MOV [~0],HL",0x01,0xBD,3,1,8,262224}, +{"MOV [~0],L",0x04,0xD6CE,4,1,16,262224}, +{"MOV [~0],SP",0x04,0x7CCF,4,1,16,262224}, +{"MOV [~0],X",0x01,0xBE,3,1,8,262224}, +{"MOV [~0],Y",0x01,0xBF,3,1,8,262224}, +{"MOVB A,A",0x01,0x40,1,0}, +{"MOVB A,B",0x01,0x41,1,0}, +{"MOVB A,FLAGS",0x04,0xC1CE,2,0}, +{"MOVB A,H",0x01,0x43,1,0}, +{"MOVB A,L",0x01,0x42,1,0}, +{"MOVB A,NN",0x04,0xC0CE,2,0}, +{"MOVB A,V",0x04,0xC8CE,2,0}, +{"MOVB A,[HL]",0x01,0x45,1,0}, +{"MOVB A,[NN+~0]",0x01,0x44,2,1,8,262216}, +{"MOVB A,[X+L]",0x04,0x42CE,2,0}, +{"MOVB A,[X+~0]",0x04,0x40CE,3,1,16,262216}, +{"MOVB A,[X]",0x01,0x46,1,0}, +{"MOVB A,[Y+L]",0x04,0x43CE,2,0}, +{"MOVB A,[Y+~0]",0x04,0x41CE,3,1,16,262216}, +{"MOVB A,[Y]",0x01,0x47,1,0}, +{"MOVB A,[~0]",0x04,0xD0CE,4,1,16,262224}, +{"MOVB A,~0",0x01,0xB0,2,1,8,131144}, +{"MOVB B,A",0x01,0x48,1,0}, +{"MOVB B,B",0x01,0x49,1,0}, +{"MOVB B,H",0x01,0x4B,1,0}, +{"MOVB B,L",0x01,0x4A,1,0}, +{"MOVB B,[HL]",0x01,0x4D,1,0}, +{"MOVB B,[NN+~0]",0x01,0x4C,2,1,8,262216}, +{"MOVB B,[X+L]",0x04,0x4ACE,2,0}, +{"MOVB B,[X+~0]",0x04,0x48CE,3,1,16,262216}, +{"MOVB B,[X]",0x01,0x4E,1,0}, +{"MOVB B,[Y+L]",0x04,0x4BCE,2,0}, +{"MOVB B,[Y+~0]",0x04,0x49CE,3,1,16,262216}, +{"MOVB B,[Y]",0x01,0x4F,1,0}, +{"MOVB B,[~0]",0x04,0xD1CE,4,1,16,262224}, +{"MOVB B,~0",0x01,0xB1,2,1,8,131144}, +{"MOVB FLAGS,A",0x04,0xC3CE,2,0}, +{"MOVB FLAGS,~0",0x01,0x9F,2,1,8,131144}, +{"MOVB H,A",0x01,0x58,1,0}, +{"MOVB H,B",0x01,0x59,1,0}, +{"MOVB H,H",0x01,0x5B,1,0}, +{"MOVB H,L",0x01,0x5A,1,0}, +{"MOVB H,[HL]",0x01,0x5D,1,0}, +{"MOVB H,[NN+~0]",0x01,0x5C,2,1,8,262216}, +{"MOVB H,[X+L]",0x04,0x5ACE,2,0}, +{"MOVB H,[X+~0]",0x04,0x58CE,3,1,16,262216}, +{"MOVB H,[X]",0x01,0x5E,1,0}, +{"MOVB H,[Y+L]",0x04,0x5BCE,2,0}, +{"MOVB H,[Y+~0]",0x04,0x59CE,3,1,16,262216}, +{"MOVB H,[Y]",0x01,0x5F,1,0}, +{"MOVB H,[~0]",0x04,0xD3CE,4,1,16,262224}, +{"MOVB H,~0",0x01,0xB3,2,1,8,131144}, +{"MOVB L,A",0x01,0x50,1,0}, +{"MOVB L,B",0x01,0x51,1,0}, +{"MOVB L,H",0x01,0x53,1,0}, +{"MOVB L,L",0x01,0x52,1,0}, +{"MOVB L,[HL]",0x01,0x55,1,0}, +{"MOVB L,[NN+~0]",0x01,0x54,2,1,8,262216}, +{"MOVB L,[X+L]",0x04,0x52CE,2,0}, +{"MOVB L,[X+~0]",0x04,0x50CE,3,1,16,262216}, +{"MOVB L,[X]",0x01,0x56,1,0}, +{"MOVB L,[Y+L]",0x04,0x53CE,2,0}, +{"MOVB L,[Y+~0]",0x04,0x51CE,3,1,16,262216}, +{"MOVB L,[Y]",0x01,0x57,1,0}, +{"MOVB L,[~0]",0x04,0xD2CE,4,1,16,262224}, +{"MOVB L,~0",0x01,0xB2,2,1,8,131144}, +{"MOVB NN,A",0x04,0xC2CE,2,0}, +{"MOVB U,A",0x04,0xCCCE,2,0}, +{"MOVB U,~0",0x04,0xC4CE,3,1,16,131144}, +{"MOVB [HL],A",0x01,0x68,1,0}, +{"MOVB [HL],B",0x01,0x69,1,0}, +{"MOVB [HL],H",0x01,0x6B,1,0}, +{"MOVB [HL],L",0x01,0x6A,1,0}, +{"MOVB [HL],[HL]",0x01,0x6D,1,0}, +{"MOVB [HL],[NN+~0]",0x01,0x6C,2,1,8,262216}, +{"MOVB [HL],[X+L]",0x04,0x62CE,2,0}, +{"MOVB [HL],[X+~0]",0x04,0x60CE,3,1,16,262216}, +{"MOVB [HL],[X]",0x01,0x6E,1,0}, +{"MOVB [HL],[Y+L]",0x04,0x63CE,2,0}, +{"MOVB [HL],[Y+~0]",0x04,0x61CE,3,1,16,262216}, +{"MOVB [HL],[Y]",0x01,0x6F,1,0}, +{"MOVB [HL],~0",0x01,0xB5,2,1,8,131144}, +{"MOVB [NN+~0],A",0x01,0x78,2,1,8,262216}, +{"MOVB [NN+~0],B",0x01,0x79,2,1,8,262216}, +{"MOVB [NN+~0],H",0x01,0x7B,2,1,8,262216}, +{"MOVB [NN+~0],L",0x01,0x7A,2,1,8,262216}, +{"MOVB [NN+~0],[HL]",0x01,0x7D,2,1,8,262216}, +{"MOVB [NN+~0],[X]",0x01,0x7E,2,1,8,262216}, +{"MOVB [NN+~0],[Y]",0x01,0x7F,2,1,8,262216}, +{"MOVB [NN+~0],~1",0x01,0xDD,3,2,8,131144,16,262216}, +{"MOVB [X+L],A",0x04,0x46CE,2,0}, +{"MOVB [X+L],B",0x04,0x4ECE,2,0}, +{"MOVB [X+L],H",0x04,0x5ECE,2,0}, +{"MOVB [X+L],L",0x04,0x56CE,2,0}, +{"MOVB [X+~0],A",0x04,0x44CE,3,1,16,262216}, +{"MOVB [X+~0],B",0x04,0x4CCE,3,1,16,262216}, +{"MOVB [X+~0],H",0x04,0x5CCE,3,1,16,262216}, +{"MOVB [X+~0],L",0x04,0x54CE,3,1,16,262216}, +{"MOVB [X],A",0x01,0x60,1,0}, +{"MOVB [X],B",0x01,0x61,1,0}, +{"MOVB [X],H",0x01,0x63,1,0}, +{"MOVB [X],L",0x01,0x62,1,0}, +{"MOVB [X],[HL]",0x01,0x65,1,0}, +{"MOVB [X],[NN+~0]",0x01,0x64,2,1,8,262216}, +{"MOVB [X],[X+L]",0x04,0x6ACE,2,0}, +{"MOVB [X],[X+~0]",0x04,0x68CE,3,1,16,262216}, +{"MOVB [X],[X]",0x01,0x66,1,0}, +{"MOVB [X],[Y+L]",0x04,0x6BCE,2,0}, +{"MOVB [X],[Y+~0]",0x04,0x69CE,3,1,16,262216}, +{"MOVB [X],[Y]",0x01,0x67,1,0}, +{"MOVB [X],~0",0x01,0xB6,2,1,8,131144}, +{"MOVB [Y+L],A",0x04,0x47CE,2,0}, +{"MOVB [Y+L],B",0x04,0x4FCE,2,0}, +{"MOVB [Y+L],H",0x04,0x5FCE,2,0}, +{"MOVB [Y+L],L",0x04,0x57CE,2,0}, +{"MOVB [Y+~0],A",0x04,0x45CE,3,1,16,262216}, +{"MOVB [Y+~0],B",0x04,0x4DCE,3,1,16,262216}, +{"MOVB [Y+~0],H",0x04,0x5DCE,3,1,16,262216}, +{"MOVB [Y+~0],L",0x04,0x55CE,3,1,16,262216}, +{"MOVB [Y],A",0x01,0x70,1,0}, +{"MOVB [Y],B",0x01,0x71,1,0}, +{"MOVB [Y],H",0x01,0x73,1,0}, +{"MOVB [Y],L",0x01,0x72,1,0}, +{"MOVB [Y],[HL]",0x01,0x75,1,0}, +{"MOVB [Y],[NN+~0]",0x01,0x74,2,1,8,262216}, +{"MOVB [Y],[X+L]",0x04,0x7ACE,2,0}, +{"MOVB [Y],[X+~0]",0x04,0x78CE,3,1,16,262216}, +{"MOVB [Y],[X]",0x01,0x76,1,0}, +{"MOVB [Y],[Y+L]",0x04,0x7BCE,2,0}, +{"MOVB [Y],[Y+~0]",0x04,0x79CE,3,1,16,262216}, +{"MOVB [Y],[Y]",0x01,0x77,1,0}, +{"MOVB [Y],~0",0x01,0xB7,2,1,8,131144}, +{"MOVB [~0],A",0x04,0xD4CE,4,1,16,262224}, +{"MOVB [~0],B",0x04,0xD5CE,4,1,16,262224}, +{"MOVB [~0],H",0x04,0xD7CE,4,1,16,262224}, +{"MOVB [~0],L",0x04,0xD6CE,4,1,16,262224}, +{"MOVW BA,BA",0x04,0xE0CF,2,0}, +{"MOVW BA,HL",0x04,0xE1CF,2,0}, +{"MOVW BA,PC",0x04,0xF9CF,2,0}, +{"MOVW BA,SP",0x04,0xF8CF,2,0}, +{"MOVW BA,X",0x04,0xE2CF,2,0}, +{"MOVW BA,Y",0x04,0xE3CF,2,0}, +{"MOVW BA,[HL]",0x04,0xC0CF,2,0}, +{"MOVW BA,[SP+~0]",0x04,0x70CF,3,1,16,262216}, +{"MOVW BA,[X]",0x04,0xD0CF,2,0}, +{"MOVW BA,[Y]",0x04,0xD8CF,2,0}, +{"MOVW BA,[~0]",0x01,0xB8,3,1,8,262224}, +{"MOVW BA,~0",0x01,0xC4,3,1,8,131152}, +{"MOVW HL,BA",0x04,0xE4CF,2,0}, +{"MOVW HL,HL",0x04,0xE5CF,2,0}, +{"MOVW HL,PC",0x04,0xF5CF,2,0}, +{"MOVW HL,SP",0x04,0xF4CF,2,0}, +{"MOVW HL,X",0x04,0xE6CF,2,0}, +{"MOVW HL,Y",0x04,0xE7CF,2,0}, +{"MOVW HL,[HL]",0x04,0xC1CF,2,0}, +{"MOVW HL,[SP+~0]",0x04,0x71CF,3,1,16,262216}, +{"MOVW HL,[X]",0x04,0xD1CF,2,0}, +{"MOVW HL,[Y]",0x04,0xD9CF,2,0}, +{"MOVW HL,[~0]",0x01,0xB9,3,1,8,262224}, +{"MOVW HL,~0",0x01,0xC5,3,1,8,131152}, +{"MOVW NN,~0",0x01,0xB4,2,1,8,131664}, +{"MOVW SP,BA",0x04,0xF0CF,2,0}, +{"MOVW SP,HL",0x04,0xF1CF,2,0}, +{"MOVW SP,X",0x04,0xF2CF,2,0}, +{"MOVW SP,Y",0x04,0xF3CF,2,0}, +{"MOVW SP,[~0]",0x04,0x78CF,4,1,16,262224}, +{"MOVW SP,~0",0x04,0x6ECF,4,1,16,131152}, +{"MOVW X,BA",0x04,0xE8CF,2,0}, +{"MOVW X,HL",0x04,0xE9CF,2,0}, +{"MOVW X,X",0x04,0xEACF,2,0}, +{"MOVW X,Y",0x04,0xEBCF,2,0}, +{"MOVW X,[HL]",0x04,0xC2CF,2,0}, +{"MOVW X,[SP+~0]",0x04,0x72CF,3,1,16,262216}, +{"MOVW X,[X]",0x04,0xD2CF,2,0}, +{"MOVW X,[Y]",0x04,0xDACF,2,0}, +{"MOVW X,[~0]",0x01,0xBA,3,1,8,262224}, +{"MOVW X,~0",0x01,0xC6,3,1,8,131152}, +{"MOVW X,SP",0x04,0xFACF,2,0}, +{"MOVW Y,BA",0x04,0xECCF,2,0}, +{"MOVW Y,HL",0x04,0xEDCF,2,0}, +{"MOVW Y,SP",0x04,0xFECF,2,0}, +{"MOVW Y,X",0x04,0xEECF,2,0}, +{"MOVW Y,Y",0x04,0xEFCF,2,0}, +{"MOVW Y,[HL]",0x04,0xC3CF,2,0}, +{"MOVW Y,[SP+~0]",0x04,0x73CF,3,1,16,262216}, +{"MOVW Y,[X]",0x04,0xD3CF,2,0}, +{"MOVW Y,[Y]",0x04,0xDBCF,2,0}, +{"MOVW Y,[~0]",0x01,0xBB,3,1,8,262224}, +{"MOVW Y,~0",0x01,0xC7,3,1,8,131152}, +{"MOVW [HL],BA",0x04,0xC4CF,2,0}, +{"MOVW [HL],HL",0x04,0xC5CF,2,0}, +{"MOVW [HL],X",0x04,0xC6CF,2,0}, +{"MOVW [HL],Y",0x04,0xC7CF,2,0}, +{"MOVW [SP+~0],BA",0x04,0x74CF,3,1,16,262216}, +{"MOVW [SP+~0],HL",0x04,0x75CF,3,1,16,262216}, +{"MOVW [SP+~0],X",0x04,0x76CF,3,1,16,262216}, +{"MOVW [SP+~0],Y",0x04,0x77CF,3,1,16,262216}, +{"MOVW [X],BA",0x04,0xD4CF,2,0}, +{"MOVW [X],HL",0x04,0xD5CF,2,0}, +{"MOVW [X],X",0x04,0xD6CF,2,0}, +{"MOVW [X],Y",0x04,0xD7CF,2,0}, +{"MOVW [Y],BA",0x04,0xDCCF,2,0}, +{"MOVW [Y],HL",0x04,0xDDCF,2,0}, +{"MOVW [Y],X",0x04,0xDECF,2,0}, +{"MOVW [Y],Y",0x04,0xDFCF,2,0}, +{"MOVW [~0],BA",0x01,0xBC,3,1,8,262224}, +{"MOVW [~0],HL",0x01,0xBD,3,1,8,262224}, +{"MOVW [~0],SP",0x04,0x7CCF,4,1,16,262224}, +{"MOVW [~0],X",0x01,0xBE,3,1,8,262224}, +{"MOVW [~0],Y",0x01,0xBF,3,1,8,262224}, +{"MOVX A,HL",0x04,0xC9CE,2,0}, +{"MOVX A,X",0x04,0xCACE,2,0}, +{"MOVX A,Y",0x04,0xCBCE,2,0}, +{"MOVX HL,A",0x04,0xCDCE,2,0}, +{"MOVX HL,~0",0x04,0xC5CE,3,1,16,131144}, +{"MOVX X,A",0x04,0xCECE,2,0}, +{"MOVX X,~0",0x04,0xC6CE,3,1,16,131144}, +{"MOVX Y,A",0x04,0xCFCE,2,0}, +{"MOVX Y,~0",0x04,0xC7CE,3,1,16,131144}, +{"MUL L,A",0x04,0xD8CE,2,0}, +{"NEG A",0x04,0xA4CE,2,0}, +{"NEG B",0x04,0xA5CE,2,0}, +{"NEG [HL]",0x04,0xA7CE,2,0}, +{"NEG [NN+~0]",0x04,0xA6CE,3,1,16,262216}, +{"NEGB A",0x04,0xA4CE,2,0}, +{"NEGB B",0x04,0xA5CE,2,0}, +{"NEGB [HL]",0x04,0xA7CE,2,0}, +{"NEGB [NN+~0]",0x04,0xA6CE,3,1,16,262216}, +{"NOP",0x01,0xFF,1,0}, +{"NOT A",0x04,0xA0CE,2,0}, +{"NOT B",0x04,0xA1CE,2,0}, +{"NOT [HL]",0x04,0xA3CE,2,0}, +{"NOT [NN+~0]",0x04,0xA2CE,3,1,16,262216}, +{"NOTB A",0x04,0xA0CE,2,0}, +{"NOTB B",0x04,0xA1CE,2,0}, +{"NOTB [HL]",0x04,0xA3CE,2,0}, +{"NOTB [NN+~0]",0x04,0xA2CE,3,1,16,262216}, +{"OR A,A",0x01,0x28,1,0}, +{"OR A,B",0x01,0x29,1,0}, +{"OR A,[HL]",0x01,0x2B,1,0}, +{"OR A,[NN+~0]",0x01,0x2C,2,1,8,262216}, +{"OR A,[X+L]",0x04,0x2ACE,2,0}, +{"OR A,[X+~0]",0x04,0x28CE,3,1,16,262216}, +{"OR A,[X]",0x01,0x2E,1,0}, +{"OR A,[Y+L]",0x04,0x2BCE,2,0}, +{"OR A,[Y+~0]",0x04,0x29CE,3,1,16,262216}, +{"OR A,[Y]",0x01,0x2F,1,0}, +{"OR A,[~0]",0x01,0x2D,3,1,8,262224}, +{"OR A,~0",0x01,0x2A,2,1,8,131144}, +{"OR B,~0",0x04,0xB4CE,3,1,16,131144}, +{"OR F,~0",0x01,0x9D,2,1,8,131144}, +{"OR H,~0",0x04,0xB6CE,3,1,16,131144}, +{"OR L,~0",0x04,0xB5CE,3,1,16,131144}, +{"OR [HL],A",0x04,0x2CCE,2,0}, +{"OR [HL],[X]",0x04,0x2ECE,2,0}, +{"OR [HL],[Y]",0x04,0x2FCE,2,0}, +{"OR [HL],~0",0x04,0x2DCE,3,1,16,131144}, +{"OR [NN+~0],~1",0x01,0xD9,3,2,8,131144,16,262216}, +{"ORB A,A",0x01,0x28,1,0}, +{"ORB A,B",0x01,0x29,1,0}, +{"ORB A,[HL]",0x01,0x2B,1,0}, +{"ORB A,[NN+~0]",0x01,0x2C,2,1,8,262216}, +{"ORB A,[X+L]",0x04,0x2ACE,2,0}, +{"ORB A,[X+~0]",0x04,0x28CE,3,1,16,262216}, +{"ORB A,[X]",0x01,0x2E,1,0}, +{"ORB A,[Y+L]",0x04,0x2BCE,2,0}, +{"ORB A,[Y+~0]",0x04,0x29CE,3,1,16,262216}, +{"ORB A,[Y]",0x01,0x2F,1,0}, +{"ORB A,[~0]",0x01,0x2D,3,1,8,262224}, +{"ORB A,~0",0x01,0x2A,2,1,8,131144}, +{"ORB B,~0",0x04,0xB4CE,3,1,16,131144}, +{"ORB FLAGS,~0",0x01,0x9D,2,1,8,131144}, +{"ORB H,~0",0x04,0xB6CE,3,1,16,131144}, +{"ORB L,~0",0x04,0xB5CE,3,1,16,131144}, +{"ORB [HL],A",0x04,0x2CCE,2,0}, +{"ORB [HL],[X]",0x04,0x2ECE,2,0}, +{"ORB [HL],[Y]",0x04,0x2FCE,2,0}, +{"ORB [HL],~0",0x04,0x2DCE,3,1,16,131144}, +{"ORB [NN+~0],~1",0x01,0xD9,3,2,8,131144,16,262216}, +{"PACK",0x01,0xDE,1,0}, +{"POP A",0x04,0xB4CF,2,0}, +{"POP B",0x04,0xB5CF,2,0}, +{"POP BA",0x01,0xA8,1,0}, +{"POP F",0x01,0xAF,1,0}, +{"POP H",0x04,0xB7CF,2,0}, +{"POP HL",0x01,0xA9,1,0}, +{"POP I",0x01,0xAD,1,0}, +{"POP L",0x04,0xB6CF,2,0}, +{"POP NN",0x01,0xAC,1,0}, +{"POP X",0x01,0xAA,1,0}, +{"POP Y",0x01,0xAB,1,0}, +{"POPA",0x04,0xBCCF,2,0}, +{"POPAX",0x04,0xBDCF,2,0}, +{"POPB A",0x04,0xB4CF,2,0}, +{"POPB B",0x04,0xB5CF,2,0}, +{"POPB FLAGS",0x01,0xAF,1,0}, +{"POPB H",0x04,0xB7CF,2,0}, +{"POPB L",0x04,0xB6CF,2,0}, +{"POPB NN",0x01,0xAC,1,0}, +{"POPW BA",0x01,0xA8,1,0}, +{"POPW HL",0x01,0xA9,1,0}, +{"POPW X",0x01,0xAA,1,0}, +{"POPW Y",0x01,0xAB,1,0}, +{"POPX HL",0x01,0xAD,1,0}, +{"POPX",0x01,0xAE,1,0}, +{"POPXXX",0x01,0xAE,1,0}, +{"PUSH A",0x04,0xB0CF,2,0}, +{"PUSH B",0x04,0xB1CF,2,0}, +{"PUSH BA",0x01,0xA0,1,0}, +{"PUSH F",0x01,0xA7,1,0}, +{"PUSH H",0x04,0xB3CF,2,0}, +{"PUSH HL",0x01,0xA1,1,0}, +{"PUSH I",0x01,0xA5,1,0}, +{"PUSH L",0x04,0xB2CF,2,0}, +{"PUSH NN",0x01,0xA4,1,0}, +{"PUSH X",0x01,0xA2,1,0}, +{"PUSH Y",0x01,0xA3,1,0}, +{"PUSHA",0x04,0xB8CF,2,0}, +{"PUSHAX",0x04,0xB9CF,2,0}, +{"PUSHB A",0x04,0xB0CF,2,0}, +{"PUSHB B",0x04,0xB1CF,2,0}, +{"PUSHB FLAGS",0x01,0xA7,1,0}, +{"PUSHB H",0x04,0xB3CF,2,0}, +{"PUSHB L",0x04,0xB2CF,2,0}, +{"PUSHB NN",0x01,0xA4,1,0}, +{"PUSHW BA",0x01,0xA0,1,0}, +{"PUSHW HL",0x01,0xA1,1,0}, +{"PUSHW X",0x01,0xA2,1,0}, +{"PUSHW Y",0x01,0xA3,1,0}, +{"PUSHX HL",0x01,0xA5,1,0}, +{"PUSHX",0x01,0xA6,1,0}, +{"PUSHXXX",0x01,0xA6,1,0}, +{"RET",0x01,0xF8,1,0}, +{"RETI",0x01,0xF9,1,0}, +{"RETSKIP",0x01,0xFA,1,0}, +{"ROL A",0x04,0x94CE,2,0}, +{"ROL B",0x04,0x95CE,2,0}, +{"ROL [HL]",0x04,0x97CE,2,0}, +{"ROL [NN+~0]",0x04,0x96CE,3,1,16,262216}, +{"ROLB A",0x04,0x94CE,2,0}, +{"ROLB B",0x04,0x95CE,2,0}, +{"ROLB [HL]",0x04,0x97CE,2,0}, +{"ROLB [NN+~0]",0x04,0x96CE,3,1,16,262216}, +{"ROLC A",0x04,0x90CE,2,0}, +{"ROLC B",0x04,0x91CE,2,0}, +{"ROLC [HL]",0x04,0x93CE,2,0}, +{"ROLC [NN+~0]",0x04,0x92CE,3,1,16,262216}, +{"ROLCB A",0x04,0x90CE,2,0}, +{"ROLCB B",0x04,0x91CE,2,0}, +{"ROLCB [HL]",0x04,0x93CE,2,0}, +{"ROLCB [NN+~0]",0x04,0x92CE,3,1,16,262216}, +{"ROR A",0x04,0x9CCE,2,0}, +{"ROR B",0x04,0x9DCE,2,0}, +{"ROR [HL]",0x04,0x9FCE,2,0}, +{"ROR [NN+~0]",0x04,0x9ECE,3,1,16,262216}, +{"RORB A",0x04,0x9CCE,2,0}, +{"RORB B",0x04,0x9DCE,2,0}, +{"RORB [HL]",0x04,0x9FCE,2,0}, +{"RORB [NN+~0]",0x04,0x9ECE,3,1,16,262216}, +{"RORC A",0x04,0x98CE,2,0}, +{"RORC B",0x04,0x99CE,2,0}, +{"RORC [HL]",0x04,0x9BCE,2,0}, +{"RORC [NN+~0]",0x04,0x9ACE,3,1,16,262216}, +{"RORCB A",0x04,0x98CE,2,0}, +{"RORCB B",0x04,0x99CE,2,0}, +{"RORCB [HL]",0x04,0x9BCE,2,0}, +{"RORCB [NN+~0]",0x04,0x9ACE,3,1,16,262216}, +{"SAL A",0x04,0x80CE,2,0}, +{"SAL B",0x04,0x81CE,2,0}, +{"SAL [HL]",0x04,0x83CE,2,0}, +{"SAL [NN+~0]",0x04,0x82CE,3,1,16,262216}, +{"SALB A",0x04,0x80CE,2,0}, +{"SALB B",0x04,0x81CE,2,0}, +{"SALB [HL]",0x04,0x83CE,2,0}, +{"SALB [NN+~0]",0x04,0x82CE,3,1,16,262216}, +{"SAR A",0x04,0x88CE,2,0}, +{"SAR B",0x04,0x89CE,2,0}, +{"SAR [HL]",0x04,0x8BCE,2,0}, +{"SAR [NN+~0]",0x04,0x8ACE,3,1,16,262216}, +{"SARB A",0x04,0x88CE,2,0}, +{"SARB B",0x04,0x89CE,2,0}, +{"SARB [HL]",0x04,0x8BCE,2,0}, +{"SARB [NN+~0]",0x04,0x8ACE,3,1,16,262216}, +{"SBC A,A",0x01,0x18,1,0}, +{"SBC A,B",0x01,0x19,1,0}, +{"SBC A,[HL]",0x01,0x1B,1,0}, +{"SBC A,[NN+~0]",0x01,0x1C,2,1,8,262216}, +{"SBC A,[X+L]",0x04,0x1ACE,2,0}, +{"SBC A,[X+~0]",0x04,0x18CE,3,1,16,262216}, +{"SBC A,[X]",0x01,0x1E,1,0}, +{"SBC A,[Y+L]",0x04,0x1BCE,2,0}, +{"SBC A,[Y+~0]",0x04,0x19CE,3,1,16,262216}, +{"SBC A,[Y]",0x01,0x1F,1,0}, +{"SBC A,[~0]",0x01,0x1D,3,1,8,262224}, +{"SBC A,~0",0x01,0x1A,2,1,8,131144}, +{"SBC BA,BA",0x04,0xCCF,2,0}, +{"SBC BA,HL",0x04,0xDCF,2,0}, +{"SBC BA,X",0x04,0xECF,2,0}, +{"SBC BA,Y",0x04,0xFCF,2,0}, +{"SBC BA,~0",0x04,0x62CF,4,1,16,131152}, +{"SBC HL,BA",0x04,0x2CCF,2,0}, +{"SBC HL,HL",0x04,0x2DCF,2,0}, +{"SBC HL,X",0x04,0x2ECF,2,0}, +{"SBC HL,Y",0x04,0x2FCF,2,0}, +{"SBC HL,~0",0x04,0x63CF,4,1,16,131152}, +{"SBC [HL],A",0x04,0x1CCE,2,0}, +{"SBC [HL],[X]",0x04,0x1ECE,2,0}, +{"SBC [HL],[Y]",0x04,0x1FCE,2,0}, +{"SBC [HL],~0",0x04,0x1DCE,3,1,16,131144}, +{"SHL A",0x04,0x84CE,2,0}, +{"SHL B",0x04,0x85CE,2,0}, +{"SHL [HL]",0x04,0x87CE,2,0}, +{"SHL [NN+~0]",0x04,0x86CE,3,1,16,262216}, +{"SHLB A",0x04,0x84CE,2,0}, +{"SHLB B",0x04,0x85CE,2,0}, +{"SHLB [HL]",0x04,0x87CE,2,0}, +{"SHLB [NN+~0]",0x04,0x86CE,3,1,16,262216}, +{"SHR A",0x04,0x8CCE,2,0}, +{"SHR B",0x04,0x8DCE,2,0}, +{"SHR [HL]",0x04,0x8FCE,2,0}, +{"SHR [NN+~0]",0x04,0x8ECE,3,1,16,262216}, +{"SHRB A",0x04,0x8CCE,2,0}, +{"SHRB B",0x04,0x8DCE,2,0}, +{"SHRB [HL]",0x04,0x8FCE,2,0}, +{"SHRB [NN+~0]",0x04,0x8ECE,3,1,16,262216}, +{"STOP",0x04,0xAFCE,2,0}, +{"SUB A,A",0x01,0x10,1,0}, +{"SUB A,B",0x01,0x11,1,0}, +{"SUB A,[HL]",0x01,0x13,1,0}, +{"SUB A,[NN+~0]",0x01,0x14,2,1,8,262216}, +{"SUB A,[X+L]",0x04,0x12CE,2,0}, +{"SUB A,[X+~0]",0x04,0x10CE,3,1,16,262216}, +{"SUB A,[X]",0x01,0x16,1,0}, +{"SUB A,[Y+L]",0x04,0x13CE,2,0}, +{"SUB A,[Y+~0]",0x04,0x11CE,3,1,16,262216}, +{"SUB A,[Y]",0x01,0x17,1,0}, +{"SUB A,[~0]",0x01,0x15,3,1,8,262224}, +{"SUB A,~0",0x01,0x12,2,1,8,131144}, +{"SUB BA,BA",0x04,0x8CF,2,0}, +{"SUB BA,HL",0x04,0x9CF,2,0}, +{"SUB BA,X",0x04,0xACF,2,0}, +{"SUB BA,Y",0x04,0xBCF,2,0}, +{"SUB BA,~0",0x01,0xD0,3,1,8,131152}, +{"SUB HL,BA",0x04,0x28CF,2,0}, +{"SUB HL,HL",0x04,0x29CF,2,0}, +{"SUB HL,X",0x04,0x2ACF,2,0}, +{"SUB HL,Y",0x04,0x2BCF,2,0}, +{"SUB HL,~0",0x01,0xD1,3,1,8,131152}, +{"SUB SP,BA",0x04,0x4CCF,2,0}, +{"SUB SP,HL",0x04,0x4DCF,2,0}, +{"SUB SP,~0",0x04,0x6ACF,4,1,16,131152}, +{"SUB X,BA",0x04,0x48CF,2,0}, +{"SUB X,HL",0x04,0x49CF,2,0}, +{"SUB X,~0",0x01,0xD2,3,1,8,131152}, +{"SUB Y,~0",0x01,0xD3,3,1,8,131152}, +{"SUB Y,BA",0x04,0x4ACF,2,0}, +{"SUB Y,HL",0x04,0x4BCF,2,0}, +{"SUB [HL],A",0x04,0x14CE,2,0}, +{"SUB [HL],[X]",0x04,0x16CE,2,0}, +{"SUB [HL],[Y]",0x04,0x17CE,2,0}, +{"SUB [HL],~0",0x04,0x15CE,3,1,16,131144}, +{"SUBB A,A",0x01,0x10,1,0}, +{"SUBB A,B",0x01,0x11,1,0}, +{"SUBB A,[HL]",0x01,0x13,1,0}, +{"SUBB A,[NN+~0]",0x01,0x14,2,1,8,262216}, +{"SUBB A,[X+L]",0x04,0x12CE,2,0}, +{"SUBB A,[X+~0]",0x04,0x10CE,3,1,16,262216}, +{"SUBB A,[X]",0x01,0x16,1,0}, +{"SUBB A,[Y+L]",0x04,0x13CE,2,0}, +{"SUBB A,[Y+~0]",0x04,0x11CE,3,1,16,262216}, +{"SUBB A,[Y]",0x01,0x17,1,0}, +{"SUBB A,[~0]",0x01,0x15,3,1,8,262224}, +{"SUBB A,~0",0x01,0x12,2,1,8,131144}, +{"SUBB [HL],A",0x04,0x14CE,2,0}, +{"SUBB [HL],[X]",0x04,0x16CE,2,0}, +{"SUBB [HL],[Y]",0x04,0x17CE,2,0}, +{"SUBB [HL],~0",0x04,0x15CE,3,1,16,131144}, +{"SUBCB A,A",0x01,0x18,1,0}, +{"SUBCB A,B",0x01,0x19,1,0}, +{"SUBCB A,[HL]",0x01,0x1B,1,0}, +{"SUBCB A,[NN+~0]",0x01,0x1C,2,1,8,262216}, +{"SUBCB A,[X+L]",0x04,0x1ACE,2,0}, +{"SUBCB A,[X+~0]",0x04,0x18CE,3,1,16,262216}, +{"SUBCB A,[X]",0x01,0x1E,1,0}, +{"SUBCB A,[Y+L]",0x04,0x1BCE,2,0}, +{"SUBCB A,[Y+~0]",0x04,0x19CE,3,1,16,262216}, +{"SUBCB A,[Y]",0x01,0x1F,1,0}, +{"SUBCB A,[~0]",0x01,0x1D,3,1,8,262224}, +{"SUBCB A,~0",0x01,0x1A,2,1,8,131144}, +{"SUBCB [HL],A",0x04,0x1CCE,2,0}, +{"SUBCB [HL],[X]",0x04,0x1ECE,2,0}, +{"SUBCB [HL],[Y]",0x04,0x1FCE,2,0}, +{"SUBCB [HL],~0",0x04,0x1DCE,3,1,16,131144}, +{"SUBCW BA,BA",0x04,0xCCF,2,0}, +{"SUBCW BA,HL",0x04,0xDCF,2,0}, +{"SUBCW BA,X",0x04,0xECF,2,0}, +{"SUBCW BA,Y",0x04,0xFCF,2,0}, +{"SUBCW HL,BA",0x04,0x2CCF,2,0}, +{"SUBCW HL,HL",0x04,0x2DCF,2,0}, +{"SUBCW HL,X",0x04,0x2ECF,2,0}, +{"SUBCW HL,Y",0x04,0x2FCF,2,0}, +{"SUBW BA,BA",0x04,0x8CF,2,0}, +{"SUBW BA,HL",0x04,0x9CF,2,0}, +{"SUBW BA,X",0x04,0xACF,2,0}, +{"SUBW BA,Y",0x04,0xBCF,2,0}, +{"SUBW BA,~0",0x01,0xD0,3,1,8,131152}, +{"SUBW HL,BA",0x04,0x28CF,2,0}, +{"SUBW HL,HL",0x04,0x29CF,2,0}, +{"SUBW HL,X",0x04,0x2ACF,2,0}, +{"SUBW HL,Y",0x04,0x2BCF,2,0}, +{"SUBW HL,~0",0x01,0xD1,3,1,8,131152}, +{"SUBW SP,BA",0x04,0x4CCF,2,0}, +{"SUBW SP,HL",0x04,0x4DCF,2,0}, +{"SUBW SP,~0",0x04,0x6ACF,4,1,16,131152}, +{"SUBW X,~0",0x01,0xD2,3,1,8,131152}, +{"SUBW X,BA",0x04,0x48CF,2,0}, +{"SUBW X,HL",0x04,0x49CF,2,0}, +{"SUBW Y,BA",0x04,0x4ACF,2,0}, +{"SUBW Y,HL",0x04,0x4BCF,2,0}, +{"SUBW Y,~0",0x01,0xD3,3,1,8,131152}, +{"SWAP A",0x01,0xF6,1,0}, +{"SWAP [HL]",0x01,0xF7,1,0}, +{"TESTB A,B",0x01,0x94,1,0}, +{"TESTB A,~0",0x01,0x96,2,1,8,131144}, +{"TESTB B,~0",0x01,0x97,2,1,8,131144}, +{"TESTB [HL],~0",0x01,0x95,2,1,8,131144}, +{"TESTB [NN+~0],~1",0x01,0xDC,3,2,8,131144,16,262216}, +{"TST A,B",0x01,0x94,1,0}, +{"TST A,~0",0x01,0x96,2,1,8,131144}, +{"TST B,~0",0x01,0x97,2,1,8,131144}, +{"TST [HL],~0",0x01,0x95,2,1,8,131144}, +{"TST [NN+~0],~1",0x01,0xDC,3,2,8,131144,16,262216}, +{"UNPACK",0x01,0xDF,1,0}, +{"XCHG A,B",0x01,0xCC,1,0}, +{"XCHG A,[HL]",0x01,0xCD,1,0}, +{"XCHG BA,HL",0x01,0xC8,1,0}, +{"XCHG BA,SP",0x01,0xCB,1,0}, +{"XCHG BA,X",0x01,0xC9,1,0}, +{"XCHG BA,Y",0x01,0xCA,1,0}, +{"XCHGB A,B",0x01,0xCC,1,0}, +{"XCHGB A,[HL]",0x01,0xCD,1,0}, +{"XCHGW BA,HL",0x01,0xC8,1,0}, +{"XCHGW BA,SP",0x01,0xCB,1,0}, +{"XCHGW BA,X",0x01,0xC9,1,0}, +{"XCHGW BA,Y",0x01,0xCA,1,0}, +{"XOR A,A",0x01,0x38,1,0}, +{"XOR A,B",0x01,0x39,1,0}, +{"XOR A,[HL]",0x01,0x3B,1,0}, +{"XOR A,[NN+~0]",0x01,0x3C,2,1,8,262216}, +{"XOR A,[X+L]",0x04,0x3ACE,2,0}, +{"XOR A,[X+~0]",0x04,0x38CE,3,1,16,262216}, +{"XOR A,[X]",0x01,0x3E,1,0}, +{"XOR A,[Y+L]",0x04,0x3BCE,2,0}, +{"XOR A,[Y+~0]",0x04,0x39CE,3,1,16,262216}, +{"XOR A,[Y]",0x01,0x3F,1,0}, +{"XOR A,[~0]",0x01,0x3D,3,1,8,262224}, +{"XOR A,~0",0x01,0x3A,2,1,8,131144}, +{"XOR B,~0",0x04,0xB8CE,3,1,16,131144}, +{"XOR F,~0",0x01,0x9E,2,1,8,131144}, +{"XOR H,~0",0x04,0xBACE,3,1,16,131144}, +{"XOR L,~0",0x04,0xB9CE,3,1,16,131144}, +{"XOR [HL],A",0x04,0x3CCE,2,0}, +{"XOR [HL],[X]",0x04,0x3ECE,2,0}, +{"XOR [HL],[Y]",0x04,0x3FCE,2,0}, +{"XOR [HL],~0",0x04,0x3DCE,3,1,16,131144}, +{"XOR [NN+~0],~1",0x01,0xDA,3,2,8,131144,16,262216}, +{"XORB A,A",0x01,0x38,1,0}, +{"XORB A,B",0x01,0x39,1,0}, +{"XORB A,[HL]",0x01,0x3B,1,0}, +{"XORB A,[NN+~0]",0x01,0x3C,2,1,8,262216}, +{"XORB A,[X+L]",0x04,0x3ACE,2,0}, +{"XORB A,[X+~0]",0x04,0x38CE,3,1,16,262216}, +{"XORB A,[X]",0x01,0x3E,1,0}, +{"XORB A,[Y+L]",0x04,0x3BCE,2,0}, +{"XORB A,[Y+~0]",0x04,0x39CE,3,1,16,262216}, +{"XORB A,[Y]",0x01,0x3F,1,0}, +{"XORB A,[~0]",0x01,0x3D,3,1,8,262224}, +{"XORB A,~0",0x01,0x3A,2,1,8,131144}, +{"XORB B,~0",0x04,0xB8CE,3,1,16,131144}, +{"XORB FLAGS,~0",0x01,0x9E,2,1,8,131144}, +{"XORB H,~0",0x04,0xBACE,3,1,16,131144}, +{"XORB L,~0",0x04,0xB9CE,3,1,16,131144}, +{"XORB [HL],A",0x04,0x3CCE,2,0}, +{"XORB [HL],[X]",0x04,0x3ECE,2,0}, +{"XORB [HL],[Y]",0x04,0x3FCE,2,0}, +{"XORB [HL],~0",0x04,0x3DCE,3,1,16,131144}, +{"XORB [NN+~0],~1",0x01,0xDA,3,2,8,131144,16,262216}, +}; diff --git a/cpu/minx/pm.s b/cpu/minx/pm.s index 20d98d4..6646599 100644 --- a/cpu/minx/pm.s +++ b/cpu/minx/pm.s @@ -72,34 +72,52 @@ .instruction "ADDB A,A",0x01,0x00,1,0 ; 1414 .instruction "ADDB A,B",0x01,0x01,1,0 ; 1416 .instruction "ADDB A,[HL]",0x01,0x03,1,0 ; 1420 +.instruction "ADDB A,[N+~0]",0x01,0x04,2,1,8,262216 ; 1422 .instruction "ADDB A,[NN+~0]",0x01,0x04,2,1,8,262216 ; 1422 +.instruction "ADDB A,[X+L]",0x04,0x2CE,2,0 ; 1801 +.instruction "ADDB A,[X+~0]",0x04,0xCE,3,1,16,262216 ; 1797 +.instruction "ADDB A,[X]",0x01,0x06,1,0 ; 1428 .instruction "ADDB A,[X1+L]",0x04,0x2CE,2,0 ; 1801 .instruction "ADDB A,[X1+~0]",0x04,0xCE,3,1,16,262216 ; 1797 .instruction "ADDB A,[X1]",0x01,0x06,1,0 ; 1428 .instruction "ADDB A,[X2+L]",0x04,0x3CE,2,0 ; 1803 .instruction "ADDB A,[X2+~0]",0x04,0x1CE,3,1,16,262216 ; 1799 .instruction "ADDB A,[X2]",0x01,0x07,1,0 ; 1430 +.instruction "ADDB A,[Y+L]",0x04,0x3CE,2,0 ; 1803 +.instruction "ADDB A,[Y+~0]",0x04,0x1CE,3,1,16,262216 ; 1799 +.instruction "ADDB A,[Y]",0x01,0x07,1,0 ; 1430 .instruction "ADDB A,[~0]",0x01,0x05,3,1,8,262224 ; 1425 .instruction "ADDB A,~0",0x01,0x02,2,1,8,131144 ; 1418 .instruction "ADDB [HL],A",0x04,0x4CE,2,0 ; 1805 +.instruction "ADDB [HL],[X]",0x04,0x6CE,2,0 ; 1809 .instruction "ADDB [HL],[X1]",0x04,0x6CE,2,0 ; 1809 .instruction "ADDB [HL],[X2]",0x04,0x7CE,2,0 ; 1811 +.instruction "ADDB [HL],[Y]",0x04,0x7CE,2,0 ; 1811 .instruction "ADDB [HL],~0",0x04,0x5CE,3,1,16,131144 ; 1807 .instruction "ADDCB A,A",0x01,0x08,1,0 ; 1432 .instruction "ADDCB A,B",0x01,0x09,1,0 ; 1434 .instruction "ADDCB A,[HL]",0x01,0x0B,1,0 ; 1438 +.instruction "ADDCB A,[N+~0]",0x01,0x0C,2,1,8,262216 ; 1440 .instruction "ADDCB A,[NN+~0]",0x01,0x0C,2,1,8,262216 ; 1440 +.instruction "ADDCB A,[X+L]",0x04,0xACE,2,0 ; 1817 +.instruction "ADDCB A,[X+~0]",0x04,0x8CE,3,1,16,262216 ; 1813 +.instruction "ADDCB A,[X]",0x01,0x0E,1,0 ; 1446 .instruction "ADDCB A,[X1+L]",0x04,0xACE,2,0 ; 1817 .instruction "ADDCB A,[X1+~0]",0x04,0x8CE,3,1,16,262216 ; 1813 .instruction "ADDCB A,[X1]",0x01,0x0E,1,0 ; 1446 .instruction "ADDCB A,[X2+L]",0x04,0xBCE,2,0 ; 1819 .instruction "ADDCB A,[X2+~0]",0x04,0x9CE,3,1,16,262216 ; 1815 .instruction "ADDCB A,[X2]",0x01,0x0F,1,0 ; 1448 +.instruction "ADDCB A,[Y+L]",0x04,0xBCE,2,0 ; 1819 +.instruction "ADDCB A,[Y+~0]",0x04,0x9CE,3,1,16,262216 ; 1815 +.instruction "ADDCB A,[Y]",0x01,0x0F,1,0 ; 1448 .instruction "ADDCB A,[~0]",0x01,0x0D,3,1,8,262224 ; 1443 .instruction "ADDCB A,~0",0x01,0x0A,2,1,8,131144 ; 1436 .instruction "ADDCB [HL],A",0x04,0xCCE,2,0 ; 1821 +.instruction "ADDCB [HL],[X]",0x04,0xECE,2,0 ; 1827 .instruction "ADDCB [HL],[X1]",0x04,0xECE,2,0 ; 1827 .instruction "ADDCB [HL],[X2]",0x04,0xFCE,2,0 ; 1830 +.instruction "ADDCB [HL],[Y]",0x04,0xFCE,2,0 ; 1830 .instruction "ADDCB [HL],~0",0x04,0xDCE,3,1,16,131144 ; 1824 .instruction "ADDCW BA,BA",0x04,0x4CF,2,0 ; 2167 .instruction "ADDCW BA,HL",0x04,0x5CF,2,0 ; 2167 @@ -131,12 +149,16 @@ .instruction "ADDW SP,HL",0x04,0x45CF,2,0 ; 2197 .instruction "ADDW SP,~0",0x04,0x68CF,4,1,16,131152 ; 2224 .instruction "ADDW X,~0",0x01,0xC2,3,1,8,131152 ; 1718 +.instruction "ADDW X,BA",0x04,0x40CF,2,0 ; 2187 +.instruction "ADDW X,HL",0x04,0x41CF,2,0 ; 2189 .instruction "ADDW X1,BA",0x04,0x40CF,2,0 ; 2187 .instruction "ADDW X1,HL",0x04,0x41CF,2,0 ; 2189 .instruction "ADDW X1,~0",0x01,0xC2,3,1,8,131152 ; 1718 .instruction "ADDW X2,BA",0x04,0x42CF,2,0 ; 2191 .instruction "ADDW X2,HL",0x04,0x43CF,2,0 ; 2193 .instruction "ADDW X2,~0",0x01,0xC3,3,1,8,131152 ; 1718 +.instruction "ADDW Y,BA",0x04,0x42CF,2,0 ; 2191 +.instruction "ADDW Y,HL",0x04,0x43CF,2,0 ; 2193 .instruction "ADDW Y,~0",0x01,0xC3,3,1,8,131152 ; 1718 .instruction "AND A,A",0x01,0x20,1,0 ; 190 .instruction "AND A,B",0x01,0x21,1,0 ; 192 @@ -162,13 +184,20 @@ .instruction "ANDB A,A",0x01,0x20,1,0 ; 1486 .instruction "ANDB A,B",0x01,0x21,1,0 ; 1488 .instruction "ANDB A,[HL]",0x01,0x23,1,0 ; 1492 +.instruction "ANDB A,[N+~0]",0x01,0x24,2,1,8,262216 ; 1494 .instruction "ANDB A,[NN+~0]",0x01,0x24,2,1,8,262216 ; 1494 +.instruction "ANDB A,[X+L]",0x04,0x22CE,2,0 ; 1873 +.instruction "ANDB A,[X+~0]",0x04,0x20CE,3,1,16,262216 ; 1869 +.instruction "ANDB A,[X]",0x01,0x26,1,0 ; 1500 .instruction "ANDB A,[X1+L]",0x04,0x22CE,2,0 ; 1873 .instruction "ANDB A,[X1+~0]",0x04,0x20CE,3,1,16,262216 ; 1869 .instruction "ANDB A,[X1]",0x01,0x26,1,0 ; 1500 .instruction "ANDB A,[X2+L]",0x04,0x23CE,2,0 ; 1875 .instruction "ANDB A,[X2+~0]",0x04,0x21CE,3,1,16,262216 ; 1871 .instruction "ANDB A,[X2]",0x01,0x27,1,0 ; 1502 +.instruction "ANDB A,[Y+L]",0x04,0x23CE,2,0 ; 1875 +.instruction "ANDB A,[Y+~0]",0x04,0x21CE,3,1,16,262216 ; 1871 +.instruction "ANDB A,[Y]",0x01,0x27,1,0 ; 1502 .instruction "ANDB A,[~0]",0x01,0x25,3,1,8,262224 ; 1497 .instruction "ANDB A,~0",0x01,0x22,2,1,8,131144 ; 1490 .instruction "ANDB B,~0",0x04,0xB0CE,3,1,16,131144 ; 2091 @@ -177,8 +206,11 @@ .instruction "ANDB L,~0",0x04,0xB1CE,3,1,16,131144 ; 2093 .instruction "ANDB [HL],A",0x04,0x24CE,2,0 ; 1877 .instruction "ANDB [HL],[X1]",0x04,0x26CE,2,0 ; 1882 +.instruction "ANDB [HL],[X]",0x04,0x26CE,2,0 ; 1882 .instruction "ANDB [HL],[X2]",0x04,0x27CE,2,0 ; 1885 +.instruction "ANDB [HL],[Y]",0x04,0x27CE,2,0 ; 1885 .instruction "ANDB [HL],~0",0x04,0x25CE,3,1,16,131144 ; 1879 +.instruction "ANDB [N+~0],~1",0x01,0xD8,3,2,8,131144,16,262216 ; 1751 .instruction "ANDB [NN+~0],~1",0x01,0xD8,3,2,8,131144,16,262216 ; 1751 .instruction "BCDD",0x01,0xDF,1,0 ; 1774 .instruction "BCDE",0x01,0xDE,1,0 ; 1771 @@ -254,13 +286,20 @@ .instruction "CMPB A,A",0x01,0x30,1,0 ; 1522 .instruction "CMPB A,B",0x01,0x31,1,0 ; 1525 .instruction "CMPB A,[HL]",0x01,0x33,1,0 ; 1531 +.instruction "CMPB A,[N+~0]",0x01,0x34,2,1,8,262216 ; 1534 .instruction "CMPB A,[NN+~0]",0x01,0x34,2,1,8,262216 ; 1534 +.instruction "CMPB A,[X+L]",0x04,0x32CE,2,0 ; 1913 +.instruction "CMPB A,[X+~0]",0x04,0x30CE,3,1,16,262216 ; 1907 +.instruction "CMPB A,[X]",0x01,0x36,1,0 ; 1542 .instruction "CMPB A,[X1+L]",0x04,0x32CE,2,0 ; 1913 .instruction "CMPB A,[X1+~0]",0x04,0x30CE,3,1,16,262216 ; 1907 .instruction "CMPB A,[X1]",0x01,0x36,1,0 ; 1542 .instruction "CMPB A,[X2+L]",0x04,0x33CE,2,0 ; 1916 .instruction "CMPB A,[X2+~0]",0x04,0x31CE,3,1,16,262216 ; 1910 .instruction "CMPB A,[X2]",0x01,0x37,1,0 ; 1545 +.instruction "CMPB A,[Y+L]",0x04,0x33CE,2,0 ; 1916 +.instruction "CMPB A,[Y+~0]",0x04,0x31CE,3,1,16,262216 ; 1910 +.instruction "CMPB A,[Y]",0x01,0x37,1,0 ; 1545 .instruction "CMPB A,[~0]",0x01,0x35,3,1,8,262224 ; 1538 .instruction "CMPB A,~0",0x01,0x32,2,1,8,131144 ; 1528 .instruction "CMPB B,~0",0x04,0xBCCE,3,1,16,131144 ; 2109 @@ -268,9 +307,12 @@ .instruction "CMPB L,~0",0x04,0xBDCE,3,1,16,131144 ; 2113 .instruction "CMPB N,~0",0x04,0xBFCE,3,1,16,131144 ; 2121 .instruction "CMPB [HL],A",0x04,0x34CE,2,0 ; 1919 +.instruction "CMPB [HL],[X]",0x04,0x36CE,2,0 ; 1925 .instruction "CMPB [HL],[X1]",0x04,0x36CE,2,0 ; 1925 .instruction "CMPB [HL],[X2]",0x04,0x37CE,2,0 ; 1928 +.instruction "CMPB [HL],[Y]",0x04,0x37CE,2,0 ; 1928 .instruction "CMPB [HL],~0",0x04,0x35CE,3,1,16,131144 ; 1922 +.instruction "CMPB [N+~0],~1",0x01,0xDB,3,2,8,131144,16,262216 ; 1760 .instruction "CMPB [NN+~0],~1",0x01,0xDB,3,2,8,131144,16,262216 ; 1760 .instruction "CMPNW BA,~0",0x04,0x60CF,4,1,16,131152 ; 2217 .instruction "CMPNW HL,~0",0x04,0x61CF,4,1,16,131152 ; 2217 @@ -319,6 +361,7 @@ .instruction "DECB L",0x01,0x8A,1,0 ; 1633 .instruction "DECB N",0x01,0x8C,1,0 ; 1635 .instruction "DECB [HL]",0x01,0x8E,1,0 ; 1640 +.instruction "DECB [N+~0]",0x01,0x8D,2,1,8,262216 ; 1637 .instruction "DECB [NN+~0]",0x01,0x8D,2,1,8,262216 ; 1637 .instruction "DECW BA",0x01,0x98,1,0 ; 1658 .instruction "DECW HL",0x01,0x99,1,0 ; 1658 @@ -351,6 +394,7 @@ .instruction "INCB L",0x01,0x82,1,0 ; 1622 .instruction "INCB N",0x01,0x84,1,0 ; 1624 .instruction "INCB [HL]",0x01,0x86,1,0 ; 1629 +.instruction "INCB [N+~0]",0x01,0x85,2,1,8,262216 ; 1626 .instruction "INCB [NN+~0]",0x01,0x85,2,1,8,262216 ; 1626 .instruction "INCW BA",0x01,0x90,1,0 ; 1644 .instruction "INCW HL",0x01,0x91,1,0 ; 1644 @@ -394,6 +438,7 @@ .instruction "MOV A,L",0x01,0x42,1,0 ; 270 .instruction "MOV A,N",0x04,0xC0CE,2,0 ; 1063 .instruction "MOV A,V",0x04,0xC8CE,2,0 ; 1079 +.instruction "MOV A,U",0x04,0xC8CE,2,0 ; 1079 .instruction "MOV A,XI",0x04,0xCACE,2,0 ; 1083 .instruction "MOV A,YI",0x04,0xCBCE,2,0 ; 1085 .instruction "MOV A,[HL]",0x01,0x45,1,0 ; 275 @@ -652,13 +697,20 @@ .instruction "MOVB A,N",0x04,0xC0CE,2,0 ; 2125 .instruction "MOVB A,V",0x04,0xC8CE,2,0 ; 2141 .instruction "MOVB A,[HL]",0x01,0x45,1,0 ; 1571 +.instruction "MOVB A,[N+~0]",0x01,0x44,2,1,8,262216 ; 1568 .instruction "MOVB A,[NN+~0]",0x01,0x44,2,1,8,262216 ; 1568 +.instruction "MOVB A,[X+L]",0x04,0x42CE,2,0 ; 1954 +.instruction "MOVB A,[X+~0]",0x04,0x40CE,3,1,16,262216 ; 1950 +.instruction "MOVB A,[X]",0x01,0x46,1,0 ; 1573 .instruction "MOVB A,[X1+L]",0x04,0x42CE,2,0 ; 1954 .instruction "MOVB A,[X1+~0]",0x04,0x40CE,3,1,16,262216 ; 1950 .instruction "MOVB A,[X1]",0x01,0x46,1,0 ; 1573 .instruction "MOVB A,[X2+L]",0x04,0x43CE,2,0 ; 1956 .instruction "MOVB A,[X2+~0]",0x04,0x41CE,3,1,16,262216 ; 1952 .instruction "MOVB A,[X2]",0x01,0x47,1,0 ; 1575 +.instruction "MOVB A,[Y+L]",0x04,0x43CE,2,0 ; 1956 +.instruction "MOVB A,[Y+~0]",0x04,0x41CE,3,1,16,262216 ; 1952 +.instruction "MOVB A,[Y]",0x01,0x47,1,0 ; 1575 .instruction "MOVB A,[~0]",0x04,0xD0CE,4,1,16,262224 ; 2157 .instruction "MOVB A,~0",0x01,0xB0,2,1,8,131144 ; 1702 .instruction "MOVB B,A",0x01,0x48,1,0 ; 1566 @@ -666,13 +718,20 @@ .instruction "MOVB B,H",0x01,0x4B,1,0 ; 1566 .instruction "MOVB B,L",0x01,0x4A,1,0 ; 1566 .instruction "MOVB B,[HL]",0x01,0x4D,1,0 ; 1571 +.instruction "MOVB B,[N+~0]",0x01,0x4C,2,1,8,262216 ; 1568 .instruction "MOVB B,[NN+~0]",0x01,0x4C,2,1,8,262216 ; 1568 .instruction "MOVB B,[X1+L]",0x04,0x4ACE,2,0 ; 1954 .instruction "MOVB B,[X1+~0]",0x04,0x48CE,3,1,16,262216 ; 1950 .instruction "MOVB B,[X1]",0x01,0x4E,1,0 ; 1573 +.instruction "MOVB B,[X+L]",0x04,0x4ACE,2,0 ; 1954 +.instruction "MOVB B,[X+~0]",0x04,0x48CE,3,1,16,262216 ; 1950 +.instruction "MOVB B,[X]",0x01,0x4E,1,0 ; 1573 .instruction "MOVB B,[X2+L]",0x04,0x4BCE,2,0 ; 1956 .instruction "MOVB B,[X2+~0]",0x04,0x49CE,3,1,16,262216 ; 1952 .instruction "MOVB B,[X2]",0x01,0x4F,1,0 ; 1575 +.instruction "MOVB B,[Y+L]",0x04,0x4BCE,2,0 ; 1956 +.instruction "MOVB B,[Y+~0]",0x04,0x49CE,3,1,16,262216 ; 1952 +.instruction "MOVB B,[Y]",0x01,0x4F,1,0 ; 1575 .instruction "MOVB B,[~0]",0x04,0xD1CE,4,1,16,262224 ; 2157 .instruction "MOVB B,~0",0x01,0xB1,2,1,8,131144 ; 1702 .instruction "MOVB FLAGS,A",0x04,0xC3CE,2,0 ; 2131 @@ -682,13 +741,20 @@ .instruction "MOVB H,H",0x01,0x5B,1,0 ; 1566 .instruction "MOVB H,L",0x01,0x5A,1,0 ; 1566 .instruction "MOVB H,[HL]",0x01,0x5D,1,0 ; 1571 +.instruction "MOVB H,[N+~0]",0x01,0x5C,2,1,8,262216 ; 1568 .instruction "MOVB H,[NN+~0]",0x01,0x5C,2,1,8,262216 ; 1568 +.instruction "MOVB H,[X+L]",0x04,0x5ACE,2,0 ; 1954 +.instruction "MOVB H,[X+~0]",0x04,0x58CE,3,1,16,262216 ; 1950 +.instruction "MOVB H,[X]",0x01,0x5E,1,0 ; 1573 .instruction "MOVB H,[X1+L]",0x04,0x5ACE,2,0 ; 1954 .instruction "MOVB H,[X1+~0]",0x04,0x58CE,3,1,16,262216 ; 1950 .instruction "MOVB H,[X1]",0x01,0x5E,1,0 ; 1573 .instruction "MOVB H,[X2+L]",0x04,0x5BCE,2,0 ; 1956 .instruction "MOVB H,[X2+~0]",0x04,0x59CE,3,1,16,262216 ; 1952 .instruction "MOVB H,[X2]",0x01,0x5F,1,0 ; 1575 +.instruction "MOVB H,[Y+L]",0x04,0x5BCE,2,0 ; 1956 +.instruction "MOVB H,[Y+~0]",0x04,0x59CE,3,1,16,262216 ; 1952 +.instruction "MOVB H,[Y]",0x01,0x5F,1,0 ; 1575 .instruction "MOVB H,[~0]",0x04,0xD3CE,4,1,16,262224 ; 2157 .instruction "MOVB H,~0",0x01,0xB3,2,1,8,131144 ; 1702 .instruction "MOVB L,A",0x01,0x50,1,0 ; 1566 @@ -696,13 +762,20 @@ .instruction "MOVB L,H",0x01,0x53,1,0 ; 1566 .instruction "MOVB L,L",0x01,0x52,1,0 ; 1566 .instruction "MOVB L,[HL]",0x01,0x55,1,0 ; 1571 +.instruction "MOVB L,[N+~0]",0x01,0x54,2,1,8,262216 ; 1568 .instruction "MOVB L,[NN+~0]",0x01,0x54,2,1,8,262216 ; 1568 +.instruction "MOVB L,[X+L]",0x04,0x52CE,2,0 ; 1954 +.instruction "MOVB L,[X+~0]",0x04,0x50CE,3,1,16,262216 ; 1950 +.instruction "MOVB L,[X]",0x01,0x56,1,0 ; 1573 .instruction "MOVB L,[X1+L]",0x04,0x52CE,2,0 ; 1954 .instruction "MOVB L,[X1+~0]",0x04,0x50CE,3,1,16,262216 ; 1950 .instruction "MOVB L,[X1]",0x01,0x56,1,0 ; 1573 .instruction "MOVB L,[X2+L]",0x04,0x53CE,2,0 ; 1956 .instruction "MOVB L,[X2+~0]",0x04,0x51CE,3,1,16,262216 ; 1952 .instruction "MOVB L,[X2]",0x01,0x57,1,0 ; 1575 +.instruction "MOVB L,[Y+L]",0x04,0x53CE,2,0 ; 1956 +.instruction "MOVB L,[Y+~0]",0x04,0x51CE,3,1,16,262216 ; 1952 +.instruction "MOVB L,[Y]",0x01,0x57,1,0 ; 1575 .instruction "MOVB L,[~0]",0x04,0xD2CE,4,1,16,262224 ; 2157 .instruction "MOVB L,~0",0x01,0xB2,2,1,8,131144 ; 1702 .instruction "MOVB N,A",0x04,0xC2CE,2,0 ; 2129 @@ -713,22 +786,69 @@ .instruction "MOVB [HL],H",0x01,0x6B,1,0 ; 1588 .instruction "MOVB [HL],L",0x01,0x6A,1,0 ; 1588 .instruction "MOVB [HL],[HL]",0x01,0x6D,1,0 ; 1593 +.instruction "MOVB [HL],[N+~0]",0x01,0x6C,2,1,8,262216 ; 1590 .instruction "MOVB [HL],[NN+~0]",0x01,0x6C,2,1,8,262216 ; 1590 +.instruction "MOVB [HL],[X+L]",0x04,0x62CE,2,0 ; 1970 +.instruction "MOVB [HL],[X+~0]",0x04,0x60CE,3,1,16,262216 ; 1966 +.instruction "MOVB [HL],[X]",0x01,0x6E,1,0 ; 1595 .instruction "MOVB [HL],[X1+L]",0x04,0x62CE,2,0 ; 1970 .instruction "MOVB [HL],[X1+~0]",0x04,0x60CE,3,1,16,262216 ; 1966 .instruction "MOVB [HL],[X1]",0x01,0x6E,1,0 ; 1595 .instruction "MOVB [HL],[X2+L]",0x04,0x63CE,2,0 ; 1972 .instruction "MOVB [HL],[X2+~0]",0x04,0x61CE,3,1,16,262216 ; 1968 .instruction "MOVB [HL],[X2]",0x01,0x6F,1,0 ; 1597 +.instruction "MOVB [HL],[Y+L]",0x04,0x63CE,2,0 ; 1972 +.instruction "MOVB [HL],[Y+~0]",0x04,0x61CE,3,1,16,262216 ; 1968 +.instruction "MOVB [HL],[Y]",0x01,0x6F,1,0 ; 1597 .instruction "MOVB [HL],~0",0x01,0xB5,2,1,8,131144 ; 1706 +.instruction "MOVB [N+~0],A",0x01,0x78,2,1,8,262216 ; 1610 +.instruction "MOVB [N+~0],B",0x01,0x79,2,1,8,262216 ; 1610 +.instruction "MOVB [N+~0],H",0x01,0x7B,2,1,8,262216 ; 1610 +.instruction "MOVB [N+~0],L",0x01,0x7A,2,1,8,262216 ; 1610 +.instruction "MOVB [N+~0],[HL]",0x01,0x7D,2,1,8,262216 ; 1613 +.instruction "MOVB [N+~0],[X]",0x01,0x7E,2,1,8,262216 ; 1616 +.instruction "MOVB [N+~0],[X1]",0x01,0x7E,2,1,8,262216 ; 1616 +.instruction "MOVB [N+~0],[X2]",0x01,0x7F,2,1,8,262216 ; 1619 +.instruction "MOVB [N+~0],[Y]",0x01,0x7F,2,1,8,262216 ; 1619 +.instruction "MOVB [N+~0],~1",0x01,0xDD,3,2,8,131144,16,262216 ; 1768 .instruction "MOVB [NN+~0],A",0x01,0x78,2,1,8,262216 ; 1610 .instruction "MOVB [NN+~0],B",0x01,0x79,2,1,8,262216 ; 1610 .instruction "MOVB [NN+~0],H",0x01,0x7B,2,1,8,262216 ; 1610 .instruction "MOVB [NN+~0],L",0x01,0x7A,2,1,8,262216 ; 1610 .instruction "MOVB [NN+~0],[HL]",0x01,0x7D,2,1,8,262216 ; 1613 +.instruction "MOVB [NN+~0],[X]",0x01,0x7E,2,1,8,262216 ; 1616 .instruction "MOVB [NN+~0],[X1]",0x01,0x7E,2,1,8,262216 ; 1616 .instruction "MOVB [NN+~0],[X2]",0x01,0x7F,2,1,8,262216 ; 1619 +.instruction "MOVB [NN+~0],[Y]",0x01,0x7F,2,1,8,262216 ; 1619 .instruction "MOVB [NN+~0],~1",0x01,0xDD,3,2,8,131144,16,262216 ; 1768 +.instruction "MOVB [X+L],A",0x04,0x46CE,2,0 ; 1962 +.instruction "MOVB [X+L],B",0x04,0x4ECE,2,0 ; 1962 +.instruction "MOVB [X+L],H",0x04,0x5ECE,2,0 ; 1962 +.instruction "MOVB [X+L],L",0x04,0x56CE,2,0 ; 1962 +.instruction "MOVB [X+~0],A",0x04,0x44CE,3,1,16,262216 ; 1958 +.instruction "MOVB [X+~0],B",0x04,0x4CCE,3,1,16,262216 ; 1958 +.instruction "MOVB [X+~0],H",0x04,0x5CCE,3,1,16,262216 ; 1958 +.instruction "MOVB [X+~0],L",0x04,0x54CE,3,1,16,262216 ; 1958 +.instruction "MOVB [X],A",0x01,0x60,1,0 ; 1577 +.instruction "MOVB [X],B",0x01,0x61,1,0 ; 1577 +.instruction "MOVB [X],H",0x01,0x63,1,0 ; 1577 +.instruction "MOVB [X],L",0x01,0x62,1,0 ; 1577 +.instruction "MOVB [X],[HL]",0x01,0x65,1,0 ; 1582 +.instruction "MOVB [X],[N+~0]",0x01,0x64,2,1,8,262216 ; 1579 +.instruction "MOVB [X],[NN+~0]",0x01,0x64,2,1,8,262216 ; 1579 +.instruction "MOVB [X],[X+L]",0x04,0x6ACE,2,0 ; 1978 +.instruction "MOVB [X],[X+~0]",0x04,0x68CE,3,1,16,262216 ; 1974 +.instruction "MOVB [X],[X]",0x01,0x66,1,0 ; 1584 +.instruction "MOVB [X],[X1+L]",0x04,0x6ACE,2,0 ; 1978 +.instruction "MOVB [X],[X1+~0]",0x04,0x68CE,3,1,16,262216 ; 1974 +.instruction "MOVB [X],[X1]",0x01,0x66,1,0 ; 1584 +.instruction "MOVB [X],[X2+L]",0x04,0x6BCE,2,0 ; 1980 +.instruction "MOVB [X],[X2+~0]",0x04,0x69CE,3,1,16,262216 ; 1976 +.instruction "MOVB [X],[X2]",0x01,0x67,1,0 ; 1586 +.instruction "MOVB [X],[Y+L]",0x04,0x6BCE,2,0 ; 1980 +.instruction "MOVB [X],[Y+~0]",0x04,0x69CE,3,1,16,262216 ; 1976 +.instruction "MOVB [X],[Y]",0x01,0x67,1,0 ; 1586 +.instruction "MOVB [X],~0",0x01,0xB6,2,1,8,131144 ; 1708 .instruction "MOVB [X1+L],A",0x04,0x46CE,2,0 ; 1962 .instruction "MOVB [X1+L],B",0x04,0x4ECE,2,0 ; 1962 .instruction "MOVB [X1+L],H",0x04,0x5ECE,2,0 ; 1962 @@ -742,13 +862,20 @@ .instruction "MOVB [X1],H",0x01,0x63,1,0 ; 1577 .instruction "MOVB [X1],L",0x01,0x62,1,0 ; 1577 .instruction "MOVB [X1],[HL]",0x01,0x65,1,0 ; 1582 +.instruction "MOVB [X1],[N+~0]",0x01,0x64,2,1,8,262216 ; 1579 .instruction "MOVB [X1],[NN+~0]",0x01,0x64,2,1,8,262216 ; 1579 +.instruction "MOVB [X1],[X+L]",0x04,0x6ACE,2,0 ; 1978 +.instruction "MOVB [X1],[X+~0]",0x04,0x68CE,3,1,16,262216 ; 1974 +.instruction "MOVB [X1],[X]",0x01,0x66,1,0 ; 1584 .instruction "MOVB [X1],[X1+L]",0x04,0x6ACE,2,0 ; 1978 .instruction "MOVB [X1],[X1+~0]",0x04,0x68CE,3,1,16,262216 ; 1974 .instruction "MOVB [X1],[X1]",0x01,0x66,1,0 ; 1584 .instruction "MOVB [X1],[X2+L]",0x04,0x6BCE,2,0 ; 1980 .instruction "MOVB [X1],[X2+~0]",0x04,0x69CE,3,1,16,262216 ; 1976 .instruction "MOVB [X1],[X2]",0x01,0x67,1,0 ; 1586 +.instruction "MOVB [X1],[Y+L]",0x04,0x6BCE,2,0 ; 1980 +.instruction "MOVB [X1],[Y+~0]",0x04,0x69CE,3,1,16,262216 ; 1976 +.instruction "MOVB [X1],[Y]",0x01,0x67,1,0 ; 1586 .instruction "MOVB [X1],~0",0x01,0xB6,2,1,8,131144 ; 1708 .instruction "MOVB [X2+L],A",0x04,0x47CE,2,0 ; 1964 .instruction "MOVB [X2+L],B",0x04,0x4FCE,2,0 ; 1964 @@ -763,6 +890,7 @@ .instruction "MOVB [X2],H",0x01,0x73,1,0 ; 1599 .instruction "MOVB [X2],L",0x01,0x72,1,0 ; 1599 .instruction "MOVB [X2],[HL]",0x01,0x75,1,0 ; 1604 +.instruction "MOVB [X2],[N+~0]",0x01,0x74,2,1,8,262216 ; 1601 .instruction "MOVB [X2],[NN+~0]",0x01,0x74,2,1,8,262216 ; 1601 .instruction "MOVB [X2],[X1+L]",0x04,0x7ACE,2,0 ; 1986 .instruction "MOVB [X2],[X1+~0]",0x04,0x78CE,3,1,16,262216 ; 1982 @@ -771,6 +899,34 @@ .instruction "MOVB [X2],[X2+~0]",0x04,0x79CE,3,1,16,262216 ; 1984 .instruction "MOVB [X2],[X2]",0x01,0x77,1,0 ; 1608 .instruction "MOVB [X2],~0",0x01,0xB7,2,1,8,131144 ; 1710 +.instruction "MOVB [Y+L],A",0x04,0x47CE,2,0 ; 1964 +.instruction "MOVB [Y+L],B",0x04,0x4FCE,2,0 ; 1964 +.instruction "MOVB [Y+L],H",0x04,0x5FCE,2,0 ; 1964 +.instruction "MOVB [Y+L],L",0x04,0x57CE,2,0 ; 1964 +.instruction "MOVB [Y+~0],A",0x04,0x45CE,3,1,16,262216 ; 1960 +.instruction "MOVB [Y+~0],B",0x04,0x4DCE,3,1,16,262216 ; 1960 +.instruction "MOVB [Y+~0],H",0x04,0x5DCE,3,1,16,262216 ; 1960 +.instruction "MOVB [Y+~0],L",0x04,0x55CE,3,1,16,262216 ; 1960 +.instruction "MOVB [Y],A",0x01,0x70,1,0 ; 1599 +.instruction "MOVB [Y],B",0x01,0x71,1,0 ; 1599 +.instruction "MOVB [Y],H",0x01,0x73,1,0 ; 1599 +.instruction "MOVB [Y],L",0x01,0x72,1,0 ; 1599 +.instruction "MOVB [Y],[HL]",0x01,0x75,1,0 ; 1604 +.instruction "MOVB [Y],[N+~0]",0x01,0x74,2,1,8,262216 ; 1601 +.instruction "MOVB [Y],[NN+~0]",0x01,0x74,2,1,8,262216 ; 1601 +.instruction "MOVB [Y],[X+L]",0x04,0x7ACE,2,0 ; 1986 +.instruction "MOVB [Y],[X+~0]",0x04,0x78CE,3,1,16,262216 ; 1982 +.instruction "MOVB [Y],[X]",0x01,0x76,1,0 ; 1606 +.instruction "MOVB [Y],[X1+L]",0x04,0x7ACE,2,0 ; 1986 +.instruction "MOVB [Y],[X1+~0]",0x04,0x78CE,3,1,16,262216 ; 1982 +.instruction "MOVB [Y],[X1]",0x01,0x76,1,0 ; 1606 +.instruction "MOVB [Y],[X2+L]",0x04,0x7BCE,2,0 ; 1988 +.instruction "MOVB [Y],[X2+~0]",0x04,0x79CE,3,1,16,262216 ; 1984 +.instruction "MOVB [Y],[X2]",0x01,0x77,1,0 ; 1608 +.instruction "MOVB [Y],[Y+L]",0x04,0x7BCE,2,0 ; 1988 +.instruction "MOVB [Y],[Y+~0]",0x04,0x79CE,3,1,16,262216 ; 1984 +.instruction "MOVB [Y],[Y]",0x01,0x77,1,0 ; 1608 +.instruction "MOVB [Y],~0",0x01,0xB7,2,1,8,131144 ; 1710 .instruction "MOVB [~0],A",0x04,0xD4CE,4,1,16,262224 ; 2159 .instruction "MOVB [~0],B",0x04,0xD5CE,4,1,16,262224 ; 2159 .instruction "MOVB [~0],H",0x04,0xD7CE,4,1,16,262224 ; 2159 @@ -785,8 +941,10 @@ .instruction "MOVW BA,Y",0x04,0xE3CF,2,0 ; 2261 .instruction "MOVW BA,[HL]",0x04,0xC0CF,2,0 ; 2249 .instruction "MOVW BA,[SP+~0]",0x04,0x70CF,3,1,16,262216 ; 2233 +.instruction "MOVW BA,[X]",0x04,0xD0CF,2,0 ; 2253 .instruction "MOVW BA,[X1]",0x04,0xD0CF,2,0 ; 2253 .instruction "MOVW BA,[X2]",0x04,0xD8CF,2,0 ; 2257 +.instruction "MOVW BA,[Y]",0x04,0xD8CF,2,0 ; 2257 .instruction "MOVW BA,[~0]",0x01,0xB8,3,1,8,262224 ; 1712 .instruction "MOVW BA,~0",0x01,0xC4,3,1,8,131152 ; 1720 .instruction "MOVW HL,BA",0x04,0xE4CF,2,0 ; 2261 @@ -799,10 +957,13 @@ .instruction "MOVW HL,Y",0x04,0xE7CF,2,0 ; 2261 .instruction "MOVW HL,[HL]",0x04,0xC1CF,2,0 ; 2249 .instruction "MOVW HL,[SP+~0]",0x04,0x71CF,3,1,16,262216 ; 2233 +.instruction "MOVW HL,[X]",0x04,0xD1CF,2,0 ; 2253 .instruction "MOVW HL,[X1]",0x04,0xD1CF,2,0 ; 2253 .instruction "MOVW HL,[X2]",0x04,0xD9CF,2,0 ; 2257 +.instruction "MOVW HL,[Y]",0x04,0xD9CF,2,0 ; 2257 .instruction "MOVW HL,[~0]",0x01,0xB9,3,1,8,262224 ; 1712 .instruction "MOVW HL,~0",0x01,0xC5,3,1,8,131152 ; 1720 +.instruction "MOVW N,~0",0x01,0xB4,2,1,8,131664 ; 1704 .instruction "MOVW NN,~0",0x01,0xB4,2,1,8,131664 ; 1704 .instruction "MOVW SP,BA",0x04,0xF0CF,2,0 ; 2263 .instruction "MOVW SP,HL",0x04,0xF1CF,2,0 ; 2263 @@ -820,8 +981,10 @@ .instruction "MOVW X,Y",0x04,0xEBCF,2,0 ; 2261 .instruction "MOVW X,[HL]",0x04,0xC2CF,2,0 ; 2249 .instruction "MOVW X,[SP+~0]",0x04,0x72CF,3,1,16,262216 ; 2233 +.instruction "MOVW X,[X]",0x04,0xD2CF,2,0 ; 2253 .instruction "MOVW X,[X1]",0x04,0xD2CF,2,0 ; 2253 .instruction "MOVW X,[X2]",0x04,0xDACF,2,0 ; 2257 +.instruction "MOVW X,[Y]",0x04,0xDACF,2,0 ; 2257 .instruction "MOVW X,[~0]",0x01,0xBA,3,1,8,262224 ; 1712 .instruction "MOVW X,~0",0x01,0xC6,3,1,8,131152 ; 1720 .instruction "MOVW X1,BA",0x04,0xE8CF,2,0 ; 2261 @@ -833,8 +996,10 @@ .instruction "MOVW X1,Y",0x04,0xEBCF,2,0 ; 2261 .instruction "MOVW X1,[HL]",0x04,0xC2CF,2,0 ; 2249 .instruction "MOVW X1,[SP+~0]",0x04,0x72CF,3,1,16,262216 ; 2233 +.instruction "MOVW X1,[X]",0x04,0xD2CF,2,0 ; 2253 .instruction "MOVW X1,[X1]",0x04,0xD2CF,2,0 ; 2253 .instruction "MOVW X1,[X2]",0x04,0xDACF,2,0 ; 2257 +.instruction "MOVW X1,[Y]",0x04,0xDACF,2,0 ; 2257 .instruction "MOVW X1,[~0]",0x01,0xBA,3,1,8,262224 ; 1712 .instruction "MOVW X1,~0",0x01,0xC6,3,1,8,131152 ; 1720 .instruction "MOVW X2,BA",0x04,0xECCF,2,0 ; 2261 @@ -846,8 +1011,10 @@ .instruction "MOVW X2,Y",0x04,0xEFCF,2,0 ; 2261 .instruction "MOVW X2,[HL]",0x04,0xC3CF,2,0 ; 2249 .instruction "MOVW X2,[SP+~0]",0x04,0x73CF,3,1,16,262216 ; 2233 +.instruction "MOVW X2,[X]",0x04,0xD3CF,2,0 ; 2253 .instruction "MOVW X2,[X1]",0x04,0xD3CF,2,0 ; 2253 .instruction "MOVW X2,[X2]",0x04,0xDBCF,2,0 ; 2257 +.instruction "MOVW X2,[Y]",0x04,0xDBCF,2,0 ; 2257 .instruction "MOVW X2,[~0]",0x01,0xBB,3,1,8,262224 ; 1712 .instruction "MOVW X2,~0",0x01,0xC7,3,1,8,131152 ; 1720 .instruction "MOVW Y,BA",0x04,0xECCF,2,0 ; 2261 @@ -858,8 +1025,10 @@ .instruction "MOVW Y,Y",0x04,0xEFCF,2,0 ; 2261 .instruction "MOVW Y,[HL]",0x04,0xC3CF,2,0 ; 2249 .instruction "MOVW Y,[SP+~0]",0x04,0x73CF,3,1,16,262216 ; 2233 +.instruction "MOVW Y,[X]",0x04,0xD3CF,2,0 ; 2253 .instruction "MOVW Y,[X1]",0x04,0xD3CF,2,0 ; 2253 .instruction "MOVW Y,[X2]",0x04,0xDBCF,2,0 ; 2257 +.instruction "MOVW Y,[Y]",0x04,0xDBCF,2,0 ; 2257 .instruction "MOVW Y,[~0]",0x01,0xBB,3,1,8,262224 ; 1712 .instruction "MOVW Y,~0",0x01,0xC7,3,1,8,131152 ; 1720 .instruction "MOVW [HL],BA",0x04,0xC4CF,2,0 ; 2251 @@ -874,6 +1043,12 @@ .instruction "MOVW [SP+~0],X1",0x04,0x76CF,3,1,16,262216 ; 2235 .instruction "MOVW [SP+~0],X2",0x04,0x77CF,3,1,16,262216 ; 2235 .instruction "MOVW [SP+~0],Y",0x04,0x77CF,3,1,16,262216 ; 2235 +.instruction "MOVW [X],BA",0x04,0xD4CF,2,0 ; 2255 +.instruction "MOVW [X],HL",0x04,0xD5CF,2,0 ; 2255 +.instruction "MOVW [X],X",0x04,0xD6CF,2,0 ; 2255 +.instruction "MOVW [X],X1",0x04,0xD6CF,2,0 ; 2255 +.instruction "MOVW [X],X2",0x04,0xD7CF,2,0 ; 2255 +.instruction "MOVW [X],Y",0x04,0xD7CF,2,0 ; 2255 .instruction "MOVW [X1],BA",0x04,0xD4CF,2,0 ; 2255 .instruction "MOVW [X1],HL",0x04,0xD5CF,2,0 ; 2255 .instruction "MOVW [X1],X",0x04,0xD6CF,2,0 ; 2255 @@ -886,6 +1061,12 @@ .instruction "MOVW [X2],X1",0x04,0xDECF,2,0 ; 2259 .instruction "MOVW [X2],X2",0x04,0xDFCF,2,0 ; 2259 .instruction "MOVW [X2],Y",0x04,0xDFCF,2,0 ; 2259 +.instruction "MOVW [Y],BA",0x04,0xDCCF,2,0 ; 2259 +.instruction "MOVW [Y],HL",0x04,0xDDCF,2,0 ; 2259 +.instruction "MOVW [Y],X",0x04,0xDECF,2,0 ; 2259 +.instruction "MOVW [Y],X1",0x04,0xDECF,2,0 ; 2259 +.instruction "MOVW [Y],X2",0x04,0xDFCF,2,0 ; 2259 +.instruction "MOVW [Y],Y",0x04,0xDFCF,2,0 ; 2259 .instruction "MOVW [~0],BA",0x01,0xBC,3,1,8,262224 ; 1715 .instruction "MOVW [~0],HL",0x01,0xBD,3,1,8,262224 ; 1715 .instruction "MOVW [~0],SP",0x04,0x7CCF,4,1,16,262224 ; 2240 @@ -894,14 +1075,20 @@ .instruction "MOVW [~0],X2",0x01,0xBF,3,1,8,262224 ; 1715 .instruction "MOVW [~0],Y",0x01,0xBF,3,1,8,262224 ; 1715 .instruction "MOVX A,HL",0x04,0xC9CE,2,0 ; 2143 +.instruction "MOVX A,X",0x04,0xCACE,2,0 ; 2145 .instruction "MOVX A,X1",0x04,0xCACE,2,0 ; 2145 .instruction "MOVX A,X2",0x04,0xCBCE,2,0 ; 2147 +.instruction "MOVX A,Y",0x04,0xCBCE,2,0 ; 2147 .instruction "MOVX HL,A",0x04,0xCDCE,2,0 ; 2151 .instruction "MOVX HL,~0",0x04,0xC5CE,3,1,16,131144 ; 2135 +.instruction "MOVX X,A",0x04,0xCECE,2,0 ; 2153 +.instruction "MOVX X,~0",0x04,0xC6CE,3,1,16,131144 ; 2137 .instruction "MOVX X1,A",0x04,0xCECE,2,0 ; 2153 .instruction "MOVX X1,~0",0x04,0xC6CE,3,1,16,131144 ; 2137 .instruction "MOVX X2,A",0x04,0xCFCE,2,0 ; 2155 .instruction "MOVX X2,~0",0x04,0xC7CE,3,1,16,131144 ; 2139 +.instruction "MOVX Y,A",0x04,0xCFCE,2,0 ; 2155 +.instruction "MOVX Y,~0",0x04,0xC7CE,3,1,16,131144 ; 2139 .instruction "MUL L,A",0x04,0xD8CE,2,0 ; 1099 .instruction "NEG A",0x04,0xA4CE,2,0 ; 1012 .instruction "NEG B",0x04,0xA5CE,2,0 ; 1014 @@ -910,6 +1097,7 @@ .instruction "NEGB A",0x04,0xA4CE,2,0 ; 2079 .instruction "NEGB B",0x04,0xA5CE,2,0 ; 2081 .instruction "NEGB [HL]",0x04,0xA7CE,2,0 ; 2086 +.instruction "NEGB [N+~0]",0x04,0xA6CE,3,1,16,262216 ; 2083 .instruction "NEGB [NN+~0]",0x04,0xA6CE,3,1,16,262216 ; 2083 .instruction "NOP",0x01,0xFF,1,0 ; 1791 .instruction "NOP",0x01,0xFF,1,0 ; 646 @@ -920,6 +1108,7 @@ .instruction "NOTB A",0x04,0xA0CE,2,0 ; 2070 .instruction "NOTB B",0x04,0xA1CE,2,0 ; 2072 .instruction "NOTB [HL]",0x04,0xA3CE,2,0 ; 2077 +.instruction "NOTB [N+~0]",0x04,0xA2CE,3,1,16,262216 ; 2074 .instruction "NOTB [NN+~0]",0x04,0xA2CE,3,1,16,262216 ; 2074 .instruction "OR A,A",0x01,0x28,1,0 ; 208 .instruction "OR A,B",0x01,0x29,1,0 ; 210 @@ -945,13 +1134,20 @@ .instruction "ORB A,A",0x01,0x28,1,0 ; 1504 .instruction "ORB A,B",0x01,0x29,1,0 ; 1506 .instruction "ORB A,[HL]",0x01,0x2B,1,0 ; 1510 +.instruction "ORB A,[N+~0]",0x01,0x2C,2,1,8,262216 ; 1512 .instruction "ORB A,[NN+~0]",0x01,0x2C,2,1,8,262216 ; 1512 +.instruction "ORB A,[X+L]",0x04,0x2ACE,2,0 ; 1892 +.instruction "ORB A,[X+~0]",0x04,0x28CE,3,1,16,262216 ; 1888 +.instruction "ORB A,[X]",0x01,0x2E,1,0 ; 1518 .instruction "ORB A,[X1+L]",0x04,0x2ACE,2,0 ; 1892 .instruction "ORB A,[X1+~0]",0x04,0x28CE,3,1,16,262216 ; 1888 .instruction "ORB A,[X1]",0x01,0x2E,1,0 ; 1518 .instruction "ORB A,[X2+L]",0x04,0x2BCE,2,0 ; 1894 .instruction "ORB A,[X2+~0]",0x04,0x29CE,3,1,16,262216 ; 1890 .instruction "ORB A,[X2]",0x01,0x2F,1,0 ; 1520 +.instruction "ORB A,[Y+L]",0x04,0x2BCE,2,0 ; 1894 +.instruction "ORB A,[Y+~0]",0x04,0x29CE,3,1,16,262216 ; 1890 +.instruction "ORB A,[Y]",0x01,0x2F,1,0 ; 1520 .instruction "ORB A,[~0]",0x01,0x2D,3,1,8,262224 ; 1515 .instruction "ORB A,~0",0x01,0x2A,2,1,8,131144 ; 1508 .instruction "ORB B,~0",0x04,0xB4CE,3,1,16,131144 ; 2097 @@ -959,9 +1155,12 @@ .instruction "ORB H,~0",0x04,0xB6CE,3,1,16,131144 ; 2101 .instruction "ORB L,~0",0x04,0xB5CE,3,1,16,131144 ; 2099 .instruction "ORB [HL],A",0x04,0x2CCE,2,0 ; 1896 +.instruction "ORB [HL],[X]",0x04,0x2ECE,2,0 ; 1901 .instruction "ORB [HL],[X1]",0x04,0x2ECE,2,0 ; 1901 .instruction "ORB [HL],[X2]",0x04,0x2FCE,2,0 ; 1904 +.instruction "ORB [HL],[Y]",0x04,0x2FCE,2,0 ; 1904 .instruction "ORB [HL],~0",0x04,0x2DCE,3,1,16,131144 ; 1898 +.instruction "ORB [N+~0],~1",0x01,0xD9,3,2,8,131144,16,262216 ; 1754 .instruction "ORB [NN+~0],~1",0x01,0xD9,3,2,8,131144,16,262216 ; 1754 .instruction "PACK",0x01,0xDE,1,0 ; 490 .instruction "POP A",0x04,0xB4CF,2,0 ; 1278 @@ -1034,6 +1233,7 @@ .instruction "ROLB A",0x04,0x94CE,2,0 ; 2037 .instruction "ROLB B",0x04,0x95CE,2,0 ; 2039 .instruction "ROLB [HL]",0x04,0x97CE,2,0 ; 2045 +.instruction "ROLB [N+~0]",0x04,0x96CE,3,1,16,262216 ; 2041 .instruction "ROLB [NN+~0]",0x04,0x96CE,3,1,16,262216 ; 2041 .instruction "ROLC A",0x04,0x90CE,2,0 ; 958 .instruction "ROLC B",0x04,0x91CE,2,0 ; 960 @@ -1042,6 +1242,7 @@ .instruction "ROLCB A",0x04,0x90CE,2,0 ; 2028 .instruction "ROLCB B",0x04,0x91CE,2,0 ; 2030 .instruction "ROLCB [HL]",0x04,0x93CE,2,0 ; 2035 +.instruction "ROLCB [N+~0]",0x04,0x92CE,3,1,16,262216 ; 2032 .instruction "ROLCB [NN+~0]",0x04,0x92CE,3,1,16,262216 ; 2032 .instruction "ROR A",0x04,0x9CCE,2,0 ; 991 .instruction "ROR B",0x04,0x9DCE,2,0 ; 993 @@ -1050,6 +1251,7 @@ .instruction "RORB A",0x04,0x9CCE,2,0 ; 2059 .instruction "RORB B",0x04,0x9DCE,2,0 ; 2061 .instruction "RORB [HL]",0x04,0x9FCE,2,0 ; 2067 +.instruction "RORB [N+~0]",0x04,0x9ECE,3,1,16,262216 ; 2063 .instruction "RORB [NN+~0]",0x04,0x9ECE,3,1,16,262216 ; 2063 .instruction "RORC A",0x04,0x98CE,2,0 ; 980 .instruction "RORC B",0x04,0x99CE,2,0 ; 982 @@ -1058,6 +1260,7 @@ .instruction "RORCB A",0x04,0x98CE,2,0 ; 2048 .instruction "RORCB B",0x04,0x99CE,2,0 ; 2050 .instruction "RORCB [HL]",0x04,0x9BCE,2,0 ; 2056 +.instruction "RORCB [N+~0]",0x04,0x9ACE,3,1,16,262216 ; 2052 .instruction "RORCB [NN+~0]",0x04,0x9ACE,3,1,16,262216 ; 2052 .instruction "SAL A",0x04,0x80CE,2,0 ; 916 .instruction "SAL B",0x04,0x81CE,2,0 ; 918 @@ -1066,6 +1269,7 @@ .instruction "SALB A",0x04,0x80CE,2,0 ; 1990 .instruction "SALB B",0x04,0x81CE,2,0 ; 1992 .instruction "SALB [HL]",0x04,0x83CE,2,0 ; 1997 +.instruction "SALB [N+~0]",0x04,0x82CE,3,1,16,262216 ; 1994 .instruction "SALB [NN+~0]",0x04,0x82CE,3,1,16,262216 ; 1994 .instruction "SAR A",0x04,0x88CE,2,0 ; 936 .instruction "SAR B",0x04,0x89CE,2,0 ; 938 @@ -1074,6 +1278,7 @@ .instruction "SARB A",0x04,0x88CE,2,0 ; 2008 .instruction "SARB B",0x04,0x89CE,2,0 ; 2010 .instruction "SARB [HL]",0x04,0x8BCE,2,0 ; 2016 +.instruction "SARB [N+~0]",0x04,0x8ACE,3,1,16,262216 ; 2012 .instruction "SARB [NN+~0]",0x04,0x8ACE,3,1,16,262216 ; 2012 .instruction "SBC A,A",0x01,0x18,1,0 ; 169 .instruction "SBC A,B",0x01,0x19,1,0 ; 171 @@ -1112,6 +1317,7 @@ .instruction "SHLB A",0x04,0x84CE,2,0 ; 1999 .instruction "SHLB B",0x04,0x85CE,2,0 ; 2001 .instruction "SHLB [HL]",0x04,0x87CE,2,0 ; 2006 +.instruction "SHLB [N+~0]",0x04,0x86CE,3,1,16,262216 ; 2003 .instruction "SHLB [NN+~0]",0x04,0x86CE,3,1,16,262216 ; 2003 .instruction "SHR A",0x04,0x8CCE,2,0 ; 948 .instruction "SHR B",0x04,0x8DCE,2,0 ; 950 @@ -1120,6 +1326,7 @@ .instruction "SHRB A",0x04,0x8CCE,2,0 ; 2019 .instruction "SHRB B",0x04,0x8DCE,2,0 ; 2021 .instruction "SHRB [HL]",0x04,0x8FCE,2,0 ; 2026 +.instruction "SHRB [N+~0]",0x04,0x8ECE,3,1,16,262216 ; 2023 .instruction "SHRB [NN+~0]",0x04,0x8ECE,3,1,16,262216 ; 2023 .instruction "STOP",0x04,0xAFCE,2,0 ; 1027 .instruction "SUB A,A",0x01,0x10,1,0 ; 152 @@ -1166,34 +1373,52 @@ .instruction "SUBB A,A",0x01,0x10,1,0 ; 1450 .instruction "SUBB A,B",0x01,0x11,1,0 ; 1452 .instruction "SUBB A,[HL]",0x01,0x13,1,0 ; 1456 +.instruction "SUBB A,[N+~0]",0x01,0x14,2,1,8,262216 ; 1458 .instruction "SUBB A,[NN+~0]",0x01,0x14,2,1,8,262216 ; 1458 +.instruction "SUBB A,[X+L]",0x04,0x12CE,2,0 ; 1837 +.instruction "SUBB A,[X+~0]",0x04,0x10CE,3,1,16,262216 ; 1833 +.instruction "SUBB A,[X]",0x01,0x16,1,0 ; 1464 .instruction "SUBB A,[X1+L]",0x04,0x12CE,2,0 ; 1837 .instruction "SUBB A,[X1+~0]",0x04,0x10CE,3,1,16,262216 ; 1833 .instruction "SUBB A,[X1]",0x01,0x16,1,0 ; 1464 .instruction "SUBB A,[X2+L]",0x04,0x13CE,2,0 ; 1839 .instruction "SUBB A,[X2+~0]",0x04,0x11CE,3,1,16,262216 ; 1835 .instruction "SUBB A,[X2]",0x01,0x17,1,0 ; 1466 +.instruction "SUBB A,[Y+L]",0x04,0x13CE,2,0 ; 1839 +.instruction "SUBB A,[Y+~0]",0x04,0x11CE,3,1,16,262216 ; 1835 +.instruction "SUBB A,[Y]",0x01,0x17,1,0 ; 1466 .instruction "SUBB A,[~0]",0x01,0x15,3,1,8,262224 ; 1461 .instruction "SUBB A,~0",0x01,0x12,2,1,8,131144 ; 1454 .instruction "SUBB [HL],A",0x04,0x14CE,2,0 ; 1841 +.instruction "SUBB [HL],[X]",0x04,0x16CE,2,0 ; 1845 .instruction "SUBB [HL],[X1]",0x04,0x16CE,2,0 ; 1845 .instruction "SUBB [HL],[X2]",0x04,0x17CE,2,0 ; 1847 +.instruction "SUBB [HL],[Y]",0x04,0x17CE,2,0 ; 1847 .instruction "SUBB [HL],~0",0x04,0x15CE,3,1,16,131144 ; 1843 .instruction "SUBCB A,A",0x01,0x18,1,0 ; 1468 .instruction "SUBCB A,B",0x01,0x19,1,0 ; 1470 .instruction "SUBCB A,[HL]",0x01,0x1B,1,0 ; 1474 +.instruction "SUBCB A,[N+~0]",0x01,0x1C,2,1,8,262216 ; 1476 .instruction "SUBCB A,[NN+~0]",0x01,0x1C,2,1,8,262216 ; 1476 +.instruction "SUBCB A,[X+L]",0x04,0x1ACE,2,0 ; 1853 +.instruction "SUBCB A,[X+~0]",0x04,0x18CE,3,1,16,262216 ; 1849 +.instruction "SUBCB A,[X]",0x01,0x1E,1,0 ; 1482 .instruction "SUBCB A,[X1+L]",0x04,0x1ACE,2,0 ; 1853 .instruction "SUBCB A,[X1+~0]",0x04,0x18CE,3,1,16,262216 ; 1849 .instruction "SUBCB A,[X1]",0x01,0x1E,1,0 ; 1482 .instruction "SUBCB A,[X2+L]",0x04,0x1BCE,2,0 ; 1855 .instruction "SUBCB A,[X2+~0]",0x04,0x19CE,3,1,16,262216 ; 1851 .instruction "SUBCB A,[X2]",0x01,0x1F,1,0 ; 1484 +.instruction "SUBCB A,[Y+L]",0x04,0x1BCE,2,0 ; 1855 +.instruction "SUBCB A,[Y+~0]",0x04,0x19CE,3,1,16,262216 ; 1851 +.instruction "SUBCB A,[Y]",0x01,0x1F,1,0 ; 1484 .instruction "SUBCB A,[~0]",0x01,0x1D,3,1,8,262224 ; 1479 .instruction "SUBCB A,~0",0x01,0x1A,2,1,8,131144 ; 1472 .instruction "SUBCB [HL],A",0x04,0x1CCE,2,0 ; 1857 +.instruction "SUBCB [HL],[X]",0x04,0x1ECE,2,0 ; 1863 .instruction "SUBCB [HL],[X1]",0x04,0x1ECE,2,0 ; 1863 .instruction "SUBCB [HL],[X2]",0x04,0x1FCE,2,0 ; 1866 +.instruction "SUBCB [HL],[Y]",0x04,0x1FCE,2,0 ; 1866 .instruction "SUBCB [HL],~0",0x04,0x1DCE,3,1,16,131144 ; 1860 .instruction "SUBCW BA,BA",0x04,0xCCF,2,0 ; 2171 .instruction "SUBCW BA,HL",0x04,0xDCF,2,0 ; 2171 @@ -1224,6 +1449,8 @@ .instruction "SUBW SP,BA",0x04,0x4CCF,2,0 ; 2207 .instruction "SUBW SP,HL",0x04,0x4DCF,2,0 ; 2209 .instruction "SUBW SP,~0",0x04,0x6ACF,4,1,16,131152 ; 2226 +.instruction "SUBW X,BA",0x04,0x48CF,2,0 ; 2199 +.instruction "SUBW X,HL",0x04,0x49CF,2,0 ; 2201 .instruction "SUBW X,~0",0x01,0xD2,3,1,8,131152 ; 1746 .instruction "SUBW X1,BA",0x04,0x48CF,2,0 ; 2199 .instruction "SUBW X1,HL",0x04,0x49CF,2,0 ; 2201 @@ -1231,6 +1458,8 @@ .instruction "SUBW X2,BA",0x04,0x4ACF,2,0 ; 2203 .instruction "SUBW X2,HL",0x04,0x4BCF,2,0 ; 2205 .instruction "SUBW X2,~0",0x01,0xD3,3,1,8,131152 ; 1746 +.instruction "SUBW Y,BA",0x04,0x4ACF,2,0 ; 2203 +.instruction "SUBW Y,HL",0x04,0x4BCF,2,0 ; 2205 .instruction "SUBW Y,~0",0x01,0xD3,3,1,8,131152 ; 1746 .instruction "SWAP A",0x01,0xF6,1,0 ; 609 .instruction "SWAP [HL]",0x01,0xF7,1,0 ; 611 @@ -1238,6 +1467,7 @@ .instruction "TESTB A,~0",0x01,0x96,2,1,8,131144 ; 1652 .instruction "TESTB B,~0",0x01,0x97,2,1,8,131144 ; 1655 .instruction "TESTB [HL],~0",0x01,0x95,2,1,8,131144 ; 1649 +.instruction "TESTB [N+~0],~1",0x01,0xDC,3,2,8,131144,16,262216 ; 1764 .instruction "TESTB [NN+~0],~1",0x01,0xDC,3,2,8,131144,16,262216 ; 1764 .instruction "TST A,B",0x01,0x94,1,0 ; 361 .instruction "TST A,~0",0x01,0x96,2,1,8,131144 ; 368 @@ -1255,8 +1485,10 @@ .instruction "XCHGB A,[HL]",0x01,0xCD,1,0 ; 1742 .instruction "XCHGW BA,HL",0x01,0xC8,1,0 ; 1722 .instruction "XCHGW BA,SP",0x01,0xCB,1,0 ; 1734 +.instruction "XCHGW BA,X",0x01,0xC9,1,0 ; 1726 .instruction "XCHGW BA,X1",0x01,0xC9,1,0 ; 1726 .instruction "XCHGW BA,X2",0x01,0xCA,1,0 ; 1730 +.instruction "XCHGW BA,Y",0x01,0xCA,1,0 ; 1730 .instruction "XOR A,A",0x01,0x38,1,0 ; 252 .instruction "XOR A,B",0x01,0x39,1,0 ; 254 .instruction "XOR A,[HL]",0x01,0x3B,1,0 ; 258 @@ -1264,6 +1496,12 @@ .instruction "XOR A,[X+L]",0x04,0x3ACE,2,0 ; 844 .instruction "XOR A,[X+~0]",0x04,0x38CE,3,1,16,262216 ; 838 .instruction "XOR A,[X]",0x01,0x3E,1,0 ; 266 +.instruction "XOR A,[X1+L]",0x04,0x3ACE,2,0 ; 844 +.instruction "XOR A,[X1+~0]",0x04,0x38CE,3,1,16,262216 ; 838 +.instruction "XOR A,[X1]",0x01,0x3E,1,0 ; 266 +.instruction "XOR A,[X2+L]",0x04,0x3BCE,2,0 ; 847 +.instruction "XOR A,[X2+~0]",0x04,0x39CE,3,1,16,262216 ; 841 +.instruction "XOR A,[X2]",0x01,0x3F,1,0 ; 268 .instruction "XOR A,[Y+L]",0x04,0x3BCE,2,0 ; 847 .instruction "XOR A,[Y+~0]",0x04,0x39CE,3,1,16,262216 ; 841 .instruction "XOR A,[Y]",0x01,0x3F,1,0 ; 268 @@ -1275,19 +1513,28 @@ .instruction "XOR L,~0",0x04,0xB9CE,3,1,16,131144 ; 1043 .instruction "XOR [HL],A",0x04,0x3CCE,2,0 ; 850 .instruction "XOR [HL],[X]",0x04,0x3ECE,2,0 ; 856 +.instruction "XOR [HL],[X1]",0x04,0x3ECE,2,0 ; 856 +.instruction "XOR [HL],[X2]",0x04,0x3FCE,2,0 ; 860 .instruction "XOR [HL],[Y]",0x04,0x3FCE,2,0 ; 860 .instruction "XOR [HL],~0",0x04,0x3DCE,3,1,16,131144 ; 853 .instruction "XOR [N+~0],~1",0x01,0xDA,3,2,8,131144,16,262216 ; 473 .instruction "XORB A,A",0x01,0x38,1,0 ; 1548 .instruction "XORB A,B",0x01,0x39,1,0 ; 1550 .instruction "XORB A,[HL]",0x01,0x3B,1,0 ; 1554 +.instruction "XORB A,[N+~0]",0x01,0x3C,2,1,8,262216 ; 1556 .instruction "XORB A,[NN+~0]",0x01,0x3C,2,1,8,262216 ; 1556 +.instruction "XORB A,[X+L]",0x04,0x3ACE,2,0 ; 1935 +.instruction "XORB A,[X+~0]",0x04,0x38CE,3,1,16,262216 ; 1931 +.instruction "XORB A,[X]",0x01,0x3E,1,0 ; 1562 .instruction "XORB A,[X1+L]",0x04,0x3ACE,2,0 ; 1935 .instruction "XORB A,[X1+~0]",0x04,0x38CE,3,1,16,262216 ; 1931 .instruction "XORB A,[X1]",0x01,0x3E,1,0 ; 1562 .instruction "XORB A,[X2+L]",0x04,0x3BCE,2,0 ; 1937 .instruction "XORB A,[X2+~0]",0x04,0x39CE,3,1,16,262216 ; 1933 .instruction "XORB A,[X2]",0x01,0x3F,1,0 ; 1564 +.instruction "XORB A,[Y+L]",0x04,0x3BCE,2,0 ; 1937 +.instruction "XORB A,[Y+~0]",0x04,0x39CE,3,1,16,262216 ; 1933 +.instruction "XORB A,[Y]",0x01,0x3F,1,0 ; 1564 .instruction "XORB A,[~0]",0x01,0x3D,3,1,8,262224 ; 1559 .instruction "XORB A,~0",0x01,0x3A,2,1,8,131144 ; 1552 .instruction "XORB B,~0",0x04,0xB8CE,3,1,16,131144 ; 2103 @@ -1295,7 +1542,10 @@ .instruction "XORB H,~0",0x04,0xBACE,3,1,16,131144 ; 2107 .instruction "XORB L,~0",0x04,0xB9CE,3,1,16,131144 ; 2105 .instruction "XORB [HL],A",0x04,0x3CCE,2,0 ; 1939 +.instruction "XORB [HL],[X]",0x04,0x3ECE,2,0 ; 1944 .instruction "XORB [HL],[X1]",0x04,0x3ECE,2,0 ; 1944 .instruction "XORB [HL],[X2]",0x04,0x3FCE,2,0 ; 1947 +.instruction "XORB [HL],[Y]",0x04,0x3FCE,2,0 ; 1947 .instruction "XORB [HL],~0",0x04,0x3DCE,3,1,16,131144 ; 1941 +.instruction "XORB [N+~0],~1",0x01,0xDA,3,2,8,131144,16,262216 ; 1757 .instruction "XORB [NN+~0],~1",0x01,0xDA,3,2,8,131144,16,262216 ; 1757