aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mn10200-opc.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-12-12 08:09:27 +0000
committerJeff Law <law@redhat.com>1996-12-12 08:09:27 +0000
commitc6b62ad1d723b257fe96c9e23394a143248dee83 (patch)
tree9fc8bcf0754b15caec8d13c022f345ced99c5b9b /opcodes/mn10200-opc.c
parent78b9b1703921a4ae313d760970c090d3f2e85095 (diff)
downloadgdb-c6b62ad1d723b257fe96c9e23394a143248dee83.zip
gdb-c6b62ad1d723b257fe96c9e23394a143248dee83.tar.gz
gdb-c6b62ad1d723b257fe96c9e23394a143248dee83.tar.bz2
* mn10200-dis.c: Finish writing disassembler.
* mn10200-opc.c (mn10200_opcodes): Fix mask for "mov imm8,dn". Fix mask for "jmp (an)". mn10200 disassembler works!
Diffstat (limited to 'opcodes/mn10200-opc.c')
-rw-r--r--opcodes/mn10200-opc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/mn10200-opc.c b/opcodes/mn10200-opc.c
index d63b30f..4ab833e 100644
--- a/opcodes/mn10200-opc.c
+++ b/opcodes/mn10200-opc.c
@@ -155,7 +155,7 @@ const struct mn10200_operand mn10200_operands[] = {
sorted by major opcode. */
const struct mn10200_opcode mn10200_opcodes[] = {
-{ "mov", 0x8000, 0xfc00, FMT_2, {SIMM8, DN01}},
+{ "mov", 0x8000, 0xf000, FMT_2, {SIMM8, DN01}},
{ "mov", 0x80, 0xf0, FMT_1, {DN1, DM0}},
{ "mov", 0xf230, 0xfff0, FMT_4, {DM1, AN0}},
{ "mov", 0xf2f0, 0xfff0, FMT_4, {AN1, DM0}},
@@ -322,7 +322,7 @@ const struct mn10200_opcode mn10200_opcodes[] = {
{ "jmp", 0xfc0000, 0xff0000, FMT_3, {IMM16_PCREL}},
{ "jmp", 0xf4e00000, 0xffff0000, FMT_7, {IMM24_PCREL}},
-{ "jmp", 0xf000, 0xfffc, FMT_4, {PAREN,AN1,PAREN}},
+{ "jmp", 0xf000, 0xfff3, FMT_4, {PAREN,AN1,PAREN}},
{ "jsr", 0xfd0000, 0xff0000, FMT_3, {IMM16_PCREL}},
{ "jsr", 0xf4e10000, 0xffff0000, FMT_7, {IMM24_PCREL}},
{ "jsr", 0xf001, 0xfff3, FMT_4, {PAREN,AN1,PAREN}},