| 1140 | } |
| 1141 | |
| 1142 | void EwRegIw(int instruction, Reg* e, int rm, struct Data* data) { |
| 1143 | while (data->valid) { |
| 1144 | newInstruction(instruction, 0); |
| 1145 | pushCode16(data->var2); |
| 1146 | e->u32 = DEFAULT; |
| 1147 | e->u16 = data->var1; |
| 1148 | runTestCPU(); |
| 1149 | assertResult(data, cpu, instruction, e->u16, 0, E(rm), -1, 0, 16); |
| 1150 | data++; |
| 1151 | } |
| 1152 | } |
| 1153 | |
| 1154 | void EwRegIb(int instruction, int ew, struct Data* data) { |
| 1155 | while (data->valid) { |
no test coverage detected