aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/crx.h
diff options
context:
space:
mode:
authorTomer Levi <Tomer.Levi@nsc.com>2004-10-25 09:44:27 +0000
committerTomer Levi <Tomer.Levi@nsc.com>2004-10-25 09:44:27 +0000
commit645ea12c4662a912b80533fc55c4e324c3a8897e (patch)
tree8283e1bd9333e8631e305827fb3f130a3b4a09af /include/opcode/crx.h
parentf40d685589a2be86d391644afc45cd37c7258eba (diff)
downloadgdb-645ea12c4662a912b80533fc55c4e324c3a8897e.zip
gdb-645ea12c4662a912b80533fc55c4e324c3a8897e.tar.gz
gdb-645ea12c4662a912b80533fc55c4e324c3a8897e.tar.bz2
2004-10-21 Tomer Levi <Tomer.Levi@nsc.com>
* opcode/crx.h (operand_type): Remove redundant types i3, i4, i5, i8, i12. Add new unsigned immediate types us3, us4, us5, us16.
Diffstat (limited to 'include/opcode/crx.h')
-rw-r--r--include/opcode/crx.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/opcode/crx.h b/include/opcode/crx.h
index 58db2f8..378d686 100644
--- a/include/opcode/crx.h
+++ b/include/opcode/crx.h
@@ -136,12 +136,20 @@ argtype;
typedef enum
{
dummy, cst4, disps9,
- i3, i4, i5, i8, i12, i16, i32,
+ /* Immediate operands. */
+ i16, i32,
+ /* Unsigned immediate operands. */
+ us3, us4, us5, us16,
+ /* Signed displacement operands. */
d5, d9, d17, d25, d33,
+ /* Absolute operands. */
abs16, abs32,
+ /* Register relative operands. */
rbase, rbase_cst4,
rbase_dispu8, rbase_dispu12, rbase_dispu16, rbase_dispu28, rbase_dispu32,
+ /* Index operands. */
rbase_ridx_scl2_dispu6, rbase_ridx_scl2_dispu22,
+ /* Register and processor register operands. */
regr, regr8, copregr,copregr8,copsregr,
/* Not an operand. */
nulloperand,
@@ -390,7 +398,5 @@ extern const inst *instruction;
/* Replace all appearances of 'long long int' with LONGLONG. */
typedef long long int LONGLONG;
typedef unsigned long long ULONGLONG;
-/* A mask for the upper 31 bits of a 64 bits type. */
-#define UPPER31_MASK 0xFFFFFFFE00000000LL
#endif /* _CRX_H_ */