diff options
author | Jeff Law <law@redhat.com> | 1996-10-07 22:53:27 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-10-07 22:53:27 +0000 |
commit | b78506073f84b6555757df04baff0010bfac5a44 (patch) | |
tree | 2e09d782f74eda791dc0abc92368564b2681097c /include | |
parent | 5ab7bce62dd0b73576d271004b2bfd5d90160485 (diff) | |
download | gdb-b78506073f84b6555757df04baff0010bfac5a44.zip gdb-b78506073f84b6555757df04baff0010bfac5a44.tar.gz gdb-b78506073f84b6555757df04baff0010bfac5a44.tar.bz2 |
* mn10300.h (mn10300_opcode): Add "format" field.
(MN10300_OPERAND_*): Define.
Checkpointing today's Matsushita work.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/mn10300.h | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 56817b3..e2cd3d7 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +Mon Oct 7 16:52:11 1996 Jeffrey A Law (law@cygnus.com) + + * mn10300.h (mn10300_opcode): Add "format" field. + (MN10300_OPERAND_*): Define. + Thu Oct 3 10:33:46 1996 Jeffrey A Law (law@cygnus.com) * mn10x00.h: Delete. diff --git a/include/opcode/mn10300.h b/include/opcode/mn10300.h index 2d780b1..ba8029e 100644 --- a/include/opcode/mn10300.h +++ b/include/opcode/mn10300.h @@ -38,6 +38,9 @@ struct mn10300_opcode match (and are presumably filled in by operands). */ unsigned long mask; + /* The format of this opcode. */ + unsigned char format; + /* An array of operand codes. Each code is an index into the operand table. They appear in the order which the operands must appear in assembly code, and are terminated by a zero. */ @@ -71,5 +74,17 @@ struct mn10300_operand extern const struct mn10300_operand mn10300_operands[]; /* Values defined for the flags field of a struct mn10300_operand. */ +#define MN10300_OPERAND_DREG 0x1 + +#define MN10300_OPERAND_AREG 0x2 + +#define MN10300_OPERAND_SP 0x4 + +#define MN10300_OPERAND_PSW 0x8 + +#define MN10300_OPERAND_MDR 0x10 + +#define MN10300_OPERAND_SIGNED 0x20 +#define MN10300_OPERAND_PROMOTE 0x40 #endif /* MN10300_H */ |