aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/tic80.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/tic80.h')
-rw-r--r--include/opcode/tic80.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/tic80.h b/include/opcode/tic80.h
index 87367ff..5ec2747 100644
--- a/include/opcode/tic80.h
+++ b/include/opcode/tic80.h
@@ -165,6 +165,14 @@ extern const struct tic80_operand tic80_operands[];
symbolically as "EIP", "EPC", etc. */
#define TIC80_OPERAND_CR (0400)
+/* This operand may have a ":m" modifier specified by bit 17 in a short
+ immediate form instruction. */
+#define TIC80_OPERAND_M_SI (01000)
+
+/* This operand may have a ":m" modifier specified by bit 15 in a long
+ immediate or register form instruction. */
+#define TIC80_OPERAND_M_LI (02000)
+
/* 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? */