icbi fixed

This commit is contained in:
dingusdev 2020-02-19 19:20:01 -07:00
parent 9138b9bafc
commit d8f4a0c910

View File

@ -1022,10 +1022,10 @@ void opc_group31(PPCDisasmContext* ctx)
ctx->instr_str = my_sprintf("%-8s", opcode);
return;
}
/* dcba, dcbf, dcbi, dcbst, dcbt, dcbz */
/* dcba, dcbf, dcbi, dcbst, dcbt, dcbz, icbi */
else if ((index == 1) | (index == 2) | (index == 7) \
| (index == 8) | (index == 14) \
| (index == 23) | (index == 31)) {
| (index == 8) | (index == 14) | (index == 23) \
| (index == 30) | (index == 31)) {
if (rc_set | (rs != 0)) {
opc_illegal(ctx);
return;
@ -1038,9 +1038,6 @@ void opc_group31(PPCDisasmContext* ctx)
return;
}
}
else if (index == 30) { /* icbi */
fmt_twoop(ctx->instr_str, opcode, ra, rb);
}
else if (index == 17) { /* tlbsync */
ctx->instr_str = my_sprintf("%-8s", opcode);
}