diff options
Diffstat (limited to 'src/devices/cpu/tms7000/7000dasm.cpp')
-rw-r--r-- | src/devices/cpu/tms7000/7000dasm.cpp | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/src/devices/cpu/tms7000/7000dasm.cpp b/src/devices/cpu/tms7000/7000dasm.cpp index 000c7ea2ea3..f38643c38d5 100644 --- a/src/devices/cpu/tms7000/7000dasm.cpp +++ b/src/devices/cpu/tms7000/7000dasm.cpp @@ -26,7 +26,7 @@ const tms7000_disassembler::oprandinfo tms7000_disassembler::of[] = { /* 11 */ { {" R%u", "", "", ""}, {UI8, DONE, DONE, DONE} }, /* 12 */ { {" @>%04X(B)","", "", ""}, {UI16, DONE, DONE, DONE} }, -/* 13 */ { {" B,A", ",%s", "", ""}, {NONE, PCREL, DONE, DONE} }, +/* 13 */ { {" B,A,%s", "", "", ""}, {PCREL, DONE, DONE, DONE} }, /* 14 */ { {" R%u,A", ",%s", "", ""}, {UI8, PCREL, DONE, DONE} }, /* 15 */ { {" R%u,B", ",%s", "", ""}, {UI8, PCREL, DONE, DONE} }, /* 16 */ { {" R%u", ",R%u", ",%s", ""}, {UI8, UI8, PCREL, DONE} }, @@ -102,29 +102,29 @@ const tms7000_disassembler::tms7000_opcodeinfo tms7000_disassembler::opcs[] = { {0x9C, "BR", 45, 0 }, {0xAC, "BR", 12, 0 }, - {0x66, "BTJO", 13, 0 }, - {0x16, "BTJO", 14, 0 }, - {0x36, "BTJO", 15, 0 }, - {0x46, "BTJO", 16, 0 }, - {0x26, "BTJO", 17, 0 }, - {0x56, "BTJO", 18, 0 }, - {0x76, "BTJO", 19, 0 }, - - {0x86, "BTJOP", 20, 0 }, - {0x96, "BTJOP", 21, 0 }, - {0xA6, "BTJOP", 22, 0 }, - - {0x67, "BTJZ", 13, 0 }, - {0x17, "BTJZ", 14, 0 }, - {0x37, "BTJZ", 15, 0 }, - {0x47, "BTJZ", 16, 0 }, - {0x27, "BTJZ", 17, 0 }, - {0x57, "BTJZ", 18, 0 }, - {0x77, "BTJZ", 19, 0 }, - - {0x87, "BTJZP", 20, 0 }, - {0x97, "BTJZP", 21, 0 }, - {0xA7, "BTJZP", 22, 0 }, + {0x66, "BTJO", 13, STEP_COND }, + {0x16, "BTJO", 14, STEP_COND }, + {0x36, "BTJO", 15, STEP_COND }, + {0x46, "BTJO", 16, STEP_COND }, + {0x26, "BTJO", 17, STEP_COND }, + {0x56, "BTJO", 18, STEP_COND }, + {0x76, "BTJO", 19, STEP_COND }, + + {0x86, "BTJOP", 20, STEP_COND }, + {0x96, "BTJOP", 21, STEP_COND }, + {0xA6, "BTJOP", 22, STEP_COND }, + + {0x67, "BTJZ", 13, STEP_COND }, + {0x17, "BTJZ", 14, STEP_COND }, + {0x37, "BTJZ", 15, STEP_COND }, + {0x47, "BTJZ", 16, STEP_COND }, + {0x27, "BTJZ", 17, STEP_COND }, + {0x57, "BTJZ", 18, STEP_COND }, + {0x77, "BTJZ", 19, STEP_COND }, + + {0x87, "BTJZP", 20, STEP_COND }, + {0x97, "BTJZP", 21, STEP_COND }, + {0xA7, "BTJZP", 22, STEP_COND }, {0x8E, "CALL", 43, STEP_OVER }, {0x9E, "CALL", 45, STEP_OVER }, @@ -166,9 +166,9 @@ const tms7000_disassembler::tms7000_opcodeinfo tms7000_disassembler::opcs[] = { {0x06, "DINT", 23, 0 }, - {0xBA, "DJNZ", 25, 0 }, - {0xCA, "DJNZ", 26, 0 }, - {0xDA, "DJNZ", 27, 0 }, + {0xBA, "DJNZ", 25, STEP_COND }, + {0xCA, "DJNZ", 26, STEP_COND }, + {0xDA, "DJNZ", 27, STEP_COND }, {0x6F, "DSB", 0, 0 }, {0x1F, "DSB", 1, 0 }, @@ -190,14 +190,14 @@ const tms7000_disassembler::tms7000_opcodeinfo tms7000_disassembler::opcs[] = { {0xC4, "INV B", 23, 0 }, {0xD4, "INV", 24, 0 }, - {0xE2, "JEQ", 28, 0 }, - {0xE3, "JHS", 28, 0 }, - {0xE7, "JL", 28, 0 }, + {0xE2, "JEQ", 28, STEP_COND }, + {0xE3, "JHS", 28, STEP_COND }, + {0xE7, "JL", 28, STEP_COND }, {0xE0, "JMP", 28, 0 }, - {0xE1, "JN", 28, 0 }, - {0xE6, "JNZ", 28, 0 }, - {0xE4, "JP", 28, 0 }, - {0xE5, "JPI", 28, 0 }, + {0xE1, "JN", 28, STEP_COND }, + {0xE6, "JNZ", 28, STEP_COND }, + {0xE4, "JP", 28, STEP_COND }, + {0xE5, "JPZ", 28, STEP_COND }, {0x8A, "LDA", 10, 0 }, {0x9A, "LDA", 45, 0 }, |