Line 937... |
Line 937... |
PseudoDbg_code_bits, PseudoDbg_code_mask \
|
PseudoDbg_code_bits, PseudoDbg_code_mask \
|
};
|
};
|
|
|
/* PseudoDbg_assert
|
/* PseudoDbg_assert
|
+---+---+---+---|---+---+---+---|---+---+---+---|---+---+---+---+
|
+---+---+---+---|---+---+---+---|---+---+---+---|---+---+---+---+
|
| 1 | 1 | 1 | 1 | 0 | - | - | - | - | - |.dbgop.....|.regtest...|
|
| 1 | 1 | 1 | 1 | 0 | - | - | - | dbgop |.grp.......|.regtest...|
|
|.expected......................................................|
|
|.expected......................................................|
|
+---+---+---+---|---+---+---+---|---+---+---+---|---+---+---+---+
|
+---+---+---+---|---+---+---+---|---+---+---+---|---+---+---+---+
|
*/
|
*/
|
|
|
typedef struct
|
typedef struct
|
Line 949... |
Line 949... |
unsigned long opcode;
|
unsigned long opcode;
|
int bits_expected;
|
int bits_expected;
|
int mask_expected;
|
int mask_expected;
|
int bits_regtest;
|
int bits_regtest;
|
int mask_regtest;
|
int mask_regtest;
|
|
int bits_grp;
|
|
int mask_grp;
|
int bits_dbgop;
|
int bits_dbgop;
|
int mask_dbgop;
|
int mask_dbgop;
|
int bits_dontcare;
|
int bits_dontcare;
|
int mask_dontcare;
|
int mask_dontcare;
|
int bits_code;
|
int bits_code;
|
Line 962... |
Line 964... |
#define PseudoDbg_Assert_opcode 0xf0000000
|
#define PseudoDbg_Assert_opcode 0xf0000000
|
#define PseudoDbg_Assert_expected_bits 0
|
#define PseudoDbg_Assert_expected_bits 0
|
#define PseudoDbg_Assert_expected_mask 0xffff
|
#define PseudoDbg_Assert_expected_mask 0xffff
|
#define PseudoDbg_Assert_regtest_bits 16
|
#define PseudoDbg_Assert_regtest_bits 16
|
#define PseudoDbg_Assert_regtest_mask 0x7
|
#define PseudoDbg_Assert_regtest_mask 0x7
|
#define PseudoDbg_Assert_dbgop_bits 19
|
#define PseudoDbg_Assert_grp_bits 19
|
#define PseudoDbg_Assert_dbgop_mask 0x7
|
#define PseudoDbg_Assert_grp_mask 0x7
|
#define PseudoDbg_Assert_dontcare_bits 22
|
#define PseudoDbg_Assert_dbgop_bits 22
|
#define PseudoDbg_Assert_dontcare_mask 0x1f
|
#define PseudoDbg_Assert_dbgop_mask 0x3
|
|
#define PseudoDbg_Assert_dontcare_bits 24
|
|
#define PseudoDbg_Assert_dontcare_mask 0x7
|
#define PseudoDbg_Assert_code_bits 27
|
#define PseudoDbg_Assert_code_bits 27
|
#define PseudoDbg_Assert_code_mask 0x1f
|
#define PseudoDbg_Assert_code_mask 0x1f
|
|
|
#define init_PseudoDbg_Assert \
|
#define init_PseudoDbg_Assert \
|
{ \
|
{ \
|
PseudoDbg_Assert_opcode, \
|
PseudoDbg_Assert_opcode, \
|
PseudoDbg_Assert_expected_bits, PseudoDbg_Assert_expected_mask, \
|
PseudoDbg_Assert_expected_bits, PseudoDbg_Assert_expected_mask, \
|
PseudoDbg_Assert_regtest_bits, PseudoDbg_Assert_regtest_mask, \
|
PseudoDbg_Assert_regtest_bits, PseudoDbg_Assert_regtest_mask, \
|
|
PseudoDbg_Assert_grp_bits, PseudoDbg_Assert_grp_mask, \
|
PseudoDbg_Assert_dbgop_bits, PseudoDbg_Assert_dbgop_mask, \
|
PseudoDbg_Assert_dbgop_bits, PseudoDbg_Assert_dbgop_mask, \
|
PseudoDbg_Assert_dontcare_bits, PseudoDbg_Assert_dontcare_mask, \
|
PseudoDbg_Assert_dontcare_bits, PseudoDbg_Assert_dontcare_mask, \
|
PseudoDbg_Assert_code_bits, PseudoDbg_Assert_code_mask \
|
PseudoDbg_Assert_code_bits, PseudoDbg_Assert_code_mask \
|
};
|
};
|
|
|