From 4e4dd8765fe817ec6481da6a45227933ce9831fb Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 18 Mar 1997 21:20:29 +0000 Subject: [PATCH] * mn10200-opc.c: Change "trap" to "syscall". * mn10300-opc.c: Add new "syscall" instruction. Cleanups for beta release. --- opcodes/ChangeLog | 5 +++++ opcodes/mn10200-opc.c | 2 +- opcodes/mn10300-opc.c | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 5749e1413b..7f67f654c0 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 18 14:17:03 1997 Jeffrey A Law (law@cygnus.com) + + * mn10200-opc.c: Change "trap" to "syscall". + * mn10300-opc.c: Add new "syscall" instruction. + Mon Mar 17 08:48:03 1997 J.T. Conklin * m68k-opc.c (m68k_opcodes): Provide correct entries for mulsl and diff --git a/opcodes/mn10200-opc.c b/opcodes/mn10200-opc.c index 9d8c1d8865..2f70b9081a 100644 --- a/opcodes/mn10200-opc.c +++ b/opcodes/mn10200-opc.c @@ -340,7 +340,7 @@ const struct mn10200_opcode mn10200_opcodes[] = { /* Extension. We need some instruction to trigger "emulated syscalls" for our simulator. */ -{ "trap", 0xf010, 0xffff, FMT_4, {UNUSED}}, +{ "syscall", 0xf010, 0xffff, FMT_4, {UNUSED}}, /* Extension. When talking to the simulator, gdb requires some instruction that will trigger a "breakpoint" (really just an instruction that isn't diff --git a/opcodes/mn10300-opc.c b/opcodes/mn10300-opc.c index e654c600c5..d068d82832 100644 --- a/opcodes/mn10300-opc.c +++ b/opcodes/mn10300-opc.c @@ -493,6 +493,10 @@ const struct mn10300_opcode mn10300_opcodes[] = { { "sat24", 0xf650, 0xfff0, FMT_D0, {DM1, DN0}}, { "bsch", 0xf670, 0xfff0, FMT_D0, {DM1, DN0}}, +/* Extension. We need some instruction to trigger "emulated syscalls" + for our simulator. */ +{ "syscall", 0xf0ff, 0xffff, FMT_D0, {UNUSED}}, + /* Extension. When talking to the simulator, gdb requires some instruction that will trigger a "breakpoint" (really just an instruction that isn't otherwise used by the tools. This instruction must be the same size -- 2.34.1