Simple instruction form + reserved bitmask.
| 124 | |
| 125 | // Simple instruction form + reserved bitmask. |
| 126 | static void put(const char * mnem, u32 mask, u32 chkval=0, int iclass=PPC_DISA_OTHER) |
| 127 | { |
| 128 | if( (Instr & mask) != chkval ) { ill(); return; } |
| 129 | o->iclass |= iclass; |
| 130 | strncpy(o->mnemonic, mnem, sizeof(o->mnemonic)); |
| 131 | } |
| 132 | |
| 133 | // Simplified mnemonic trap conditions |
| 134 | static const char * t_cond[32] = { |
no test coverage detected