[patch, committed, moxie] Add zex instructions

Anthony Green green@moxielogic.com
Fri Dec 12 13:45:00 GMT 2014


I've committed the following patch to add support for the zex
(zero-extend) instructions to the moxie port.

AG

(from opcodes dir)

2014-12-12  Anthony Green  <green@moxielogic.com>

	* moxie-opc.c: Define zex instructions.

diff --git a/opcodes/moxie-opc.c b/opcodes/moxie-opc.c
index ffc5d19..ea3be80 100644
--- a/opcodes/moxie-opc.c
+++ b/opcodes/moxie-opc.c
@@ -70,8 +70,8 @@ const moxie_opc_info_t moxie_form1_opc_info[128] =
     { 0x0f, MOXIE_F1_NARG, "nop" },
     { 0x10, MOXIE_F1_AB,   "sex.b" },
     { 0x11, MOXIE_F1_AB,   "sex.s" },
-    { 0x12, MOXIE_BAD,     "bad" },
-    { 0x13, MOXIE_BAD,     "bad" },
+    { 0x12, MOXIE_F1_AB,   "zex.b" },
+    { 0x13, MOXIE_F1_AB,   "zex.s" },
     { 0x14, MOXIE_BAD,     "bad" },
     { 0x15, MOXIE_BAD,     "bad" },
     { 0x16, MOXIE_BAD,     "bad" },


AG



More information about the Binutils mailing list