From: Fred Fish Date: Sun, 5 Jan 1997 02:13:07 +0000 (+0000) Subject: * tic80.h (TIC80_OPERAND_BITNUM): Renamed from TIC80_OPERAND_CC_SZ. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd68bb98f6cdb8dbdebf9eb30509554c39bfb81a;p=binutils-gdb.git * 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. --- diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index b2899b49310..53f73680725 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 + + * 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 * tic80.h (struct tic80_opcode): Name changed. diff --git a/include/opcode/tic80.h b/include/opcode/tic80.h index 515c56540d2..87367ff772a 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? */