aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/opcode/ChangeLog6
-rw-r--r--include/opcode/tic80.h15
2 files changed, 17 insertions, 4 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index b2899b4..53f7368 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,4 +1,10 @@
start-sanitize-tic80
+Sat Jan 4 19:02:44 1997 Fred Fish <fnf@cygnus.com>
+
+ * tic80.h (TIC80_OPERAND_BITNUM): Renamed from TIC80_OPERAND_CC_SZ.
+ (TIC80_OPERAND_CC): New define for condition code operand.
+ (TIC80_OPERAND_CR): New define for control register operand.
+
Fri Jan 3 16:22:23 1997 Fred Fish <fnf@cygnus.com>
* tic80.h (struct tic80_opcode): Name changed.
diff --git a/include/opcode/tic80.h b/include/opcode/tic80.h
index 515c565..87367ff 100644
--- a/include/opcode/tic80.h
+++ b/include/opcode/tic80.h
@@ -135,10 +135,9 @@ extern const struct tic80_operand tic80_operands[];
"displacement(reg)" */
#define TIC80_OPERAND_PARENS (02)
-/* This operand may use the symbolic names for the condition and size
- codes that the branch instructions use, such as "eq.b", "or.f",
- etc. */
-#define TIC80_OPERAND_CC_SZ (04)
+/* This operand is a bit number and may use symbolic names such as "eq.b",
+ "or.f", etc. */
+#define TIC80_OPERAND_BITNUM (04)
/* This operand names a register. The disassembler uses this to print
register names with a leading 'r'. */
@@ -158,6 +157,14 @@ extern const struct tic80_operand tic80_operands[];
values and other values are printed in hex. */
#define TIC80_OPERAND_BITFIELD (0100)
+/* This operand is a condition code, which may be given symbolically as
+ "eq0.b", "ne0.w", etc. */
+#define TIC80_OPERAND_CC (0200)
+
+/* This operand is a control register number, or may also be given
+ symbolically as "EIP", "EPC", etc. */
+#define TIC80_OPERAND_CR (0400)
+
/* Values which go in the struct tic80_opcode format field to distinguish
between various types of instructions with the same mnemonic. FIXME: Not
currently used? */