aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mn10300-opc.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/mn10300-opc.c')
-rw-r--r--opcodes/mn10300-opc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/opcodes/mn10300-opc.c b/opcodes/mn10300-opc.c
index 9484d4e..936bc8c 100644
--- a/opcodes/mn10300-opc.c
+++ b/opcodes/mn10300-opc.c
@@ -299,8 +299,8 @@ const struct mn10300_opcode mn10300_opcodes[] = {
{ "add", 0xfad00000, 0xfffc0000, FMT_D2, {SIMM16, AN0}},
{ "add", 0xfcd00000, 0xfffc0000, FMT_D4, {IMM32, AN0}},
{ "add", 0xf8fe00, 0xffff00, FMT_D1, {SIMM8, SP}},
-{ "add", 0xfafe0000, 0xfffc0000, FMT_D2, {SIMM16, SP}},
-{ "add", 0xfcfe0000, 0xfff0000, FMT_D4, {IMM32, SP}},
+{ "add", 0xfafe0000, 0xffff0000, FMT_D2, {SIMM16, SP}},
+{ "add", 0xfcfe0000, 0xffff0000, FMT_D4, {IMM32, SP}},
{ "addc", 0xf140, 0xfff0, FMT_D0, {DM1, DN0}},
{ "sub", 0xf100, 0xfff0, FMT_D0, {DM1, DN0}},
@@ -336,12 +336,12 @@ const struct mn10300_opcode mn10300_opcodes[] = {
{ "and", 0xf8e000, 0xfffc00, FMT_D1, {IMM8, DN0}},
{ "and", 0xfae00000, 0xfffc0000, FMT_D2, {IMM16, DN0}},
{ "and", 0xfce00000, 0xfffc0000, FMT_D4, {IMM32, DN0}},
-{ "and", 0xfafc0000, 0xfffc0000, FMT_D2, {IMM16, PSW}},
+{ "and", 0xfafc0000, 0xffff0000, FMT_D2, {IMM16, PSW}},
{ "or", 0xf210, 0xfff0, FMT_D0, {DM1, DN0}},
{ "or", 0xf8e400, 0xfffc00, FMT_D1, {IMM8, DN0}},
{ "or", 0xfae40000, 0xfffc0000, FMT_D2, {IMM16, DN0}},
{ "or", 0xfce40000, 0xfffc0000, FMT_D4, {IMM32, DN0}},
-{ "or", 0xfafd0000, 0xfffc0000, FMT_D2, {IMM16, PSW}},
+{ "or", 0xfafd0000, 0xffff0000, FMT_D2, {IMM16, PSW}},
{ "xor", 0xf220, 0xfff0, FMT_D0, {DM1, DN0}},
{ "xor", 0xfae80000, 0xfffc0000, FMT_D2, {IMM16, DN0}},
{ "xor", 0xfce80000, 0xfffc0000, FMT_D4, {IMM32, DN0}},
@@ -415,8 +415,8 @@ const struct mn10300_opcode mn10300_opcodes[] = {
{ "calls", 0xfaff0000, 0xffff0000, FMT_D2, {IMM16}},
{ "calls", 0xfcff0000, 0xffff0000, FMT_D4, {IMM32}},
-{ "ret", 0xdf0000, 0xff00000, FMT_S2, {IMM8_SHIFT8, IMM8}},
-{ "retf", 0xde0000, 0xff00000, FMT_S2, {IMM8_SHIFT8, IMM8}},
+{ "ret", 0xdf0000, 0xff0000, FMT_S2, {IMM8_SHIFT8, IMM8}},
+{ "retf", 0xde0000, 0xff0000, FMT_S2, {IMM8_SHIFT8, IMM8}},
{ "rets", 0xf0fc, 0xffff, FMT_D0, {UNUSED}},
{ "rti", 0xf0fd, 0xffff, FMT_D0, {UNUSED}},
{ "trap", 0xf0fe, 0xffff, FMT_D0, {UNUSED}},