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
commite4f24a968d56c438793119e62e482f8b4948b74b (patch)
tree5042e1ac6726daedea270d49c895233899811164 /opcodes/mcore-opc.h
parent9fbc574e618a066d26af84dd6d6d1a1a8749acb6 (diff)
downloadgdb-e4f24a968d56c438793119e62e482f8b4948b74b.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 606ba846efd..208b8812317 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 },