aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/d10v.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/opcode/d10v.h')
-rw-r--r--include/opcode/d10v.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/opcode/d10v.h b/include/opcode/d10v.h
index 9ae5d17..cc27850 100644
--- a/include/opcode/d10v.h
+++ b/include/opcode/d10v.h
@@ -184,6 +184,11 @@ extern const struct d10v_operand d10v_operands[];
/* Pre-decrement is only supported for SP. */
#define OPERAND_SP (0x100000)
+/* Post-decrement is not supported for SP. Like OPERAND_EVEN, and
+ unlike OPERAND_SP, this flag doesn't prevent the instruction from
+ matching, it only fails validation later on. */
+#define OPERAND_NOSP (0x200000)
+
/* Structure to hold information about predefined registers. */
struct pd_reg
{