diff options
Diffstat (limited to 'include/opcode')
-rw-r--r-- | include/opcode/ppc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index cf72db6..3578f0d 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -463,6 +463,11 @@ extern const unsigned int num_powerpc_operands; #define PPC_OPERAND_FCR (0x1000000) #define PPC_OPERAND_UDI (0x2000000) +/* Valid range of operand is 1..n rather than 0..n-1. + Before encoding, the operand value is decremented. + After decoding, the operand value is incremented. */ +#define PPC_OPERAND_NONZERO (0x4000000) + extern ppc_cpu_t ppc_parse_cpu (ppc_cpu_t, ppc_cpu_t *, const char *); static inline int64_t |