Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat opcodes/ppc-opc.c | grep -C 3 -E "define (BF|BFA|BA|BB|BC|BI|BT) "
- /* The BF field in an X or XL form instruction. */
- #define BF BDPA + 1
- /* The CRFD field in an X form instruction. */
- #define CRFD BF
- /* The CRD field in an XL form instruction. */
- #define CRD BF
- { 0x7, 23, NULL, NULL, PPC_OPERAND_CR_REG },
- /* The BFA field in an X or XL form instruction. */
- #define BFA OBF + 1
- { 0x7, 18, NULL, NULL, PPC_OPERAND_CR_REG },
- /* The BA field in an XL form instruction. */
- #define BA UNUSED + 1
- #define BI BA
- #define BI_MASK (0x1f << 16)
- { 0x1f, 16, NULL, NULL, PPC_OPERAND_CR_BIT },
- /* The BB field in an XL form instruction. */
- #define BB BTAB + 1
- #define BB_MASK (0x1f << 11)
- { 0x1f, 11, NULL, NULL, PPC_OPERAND_CR_BIT },
- /* The CRB field in an X form instruction. */
- #define BC CRB /* ghostmansd: custom mapping */
- #define CRB CR + 1
- /* The MB field in an M form instruction. */
- #define MB CRB
- #define MB_MASK (0x1f << 6)
- { 0x1f, 6, NULL, NULL, 0 },
- /* The BT field in an X or XL form instruction. */
- #define BT BH + 1
- { 0x1f, 21, NULL, NULL, PPC_OPERAND_CR_BIT },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement