summaryrefslogtreecommitdiff
path: root/opcodes/mcore-opc.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-10-25 15:28:44 +0000
committerNick Clifton <nickc@redhat.com>1999-10-25 15:28:44 +0000
commit054cb08c0579730d68220b2065438fec5e9ebb41 (patch)
treea5381077c9db43871edce2dbeba18ed5cbb7dc13 /opcodes/mcore-opc.h
parentdd44b982c62a97755e219e3eb4124e338def43c5 (diff)
downloadbinutils-redhat-054cb08c0579730d68220b2065438fec5e9ebb41.tar.gz
Apply patch supplied for case 102229 to implement new insns psrclr and psrset.
Diffstat (limited to 'opcodes/mcore-opc.h')
-rw-r--r--opcodes/mcore-opc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/opcodes/mcore-opc.h b/opcodes/mcore-opc.h
index 606ba846ef..208b881231 100644
--- a/opcodes/mcore-opc.h
+++ b/opcodes/mcore-opc.h
@@ -23,7 +23,7 @@ typedef enum
O0, OT, O1, OC, O2, X1, OI, OB,
OMa, SI, I7, LS, BR, BL, LR, LJ,
RM, RQ, JSR, JMP, OBRa, OBRb, OBRc, OBR2,
- O1R1, OMb, OMc, SIa,
+ O1R1, OMb, OMc, SIa, OPSR,
JC, JU, JL, RSI, DO21, OB2
}
mcore_opclass;
@@ -99,6 +99,8 @@ mcore_opcode_info mcore_table[] =
{ "tst", O2, 0, 0x0E00 },
{ "cmpne", O2, 0, 0x0F00 },
{ "mfcr", OC, 0, 0x1000 },
+ { "psrclr", OPSR, 0, 0x11F0 },
+ { "psrset", OPSR, 0, 0x11F8 },
{ "mov", O2, 0, 0x1200 },
{ "bgenr", O2, 0, 0x1300 },
{ "rsub", O2, 0, 0x1400 },