ppcexec: fix RC flag for subgroup 63.

This commit is contained in:
Maxim Poliakovski 2021-01-23 03:21:50 +01:00
parent bb3f4e596e
commit 42184213e9

View File

@ -220,8 +220,8 @@ void ppc_opcode59() {
}
void ppc_opcode63() {
uint16_t subop_grab = (ppc_cur_instruction & 0x7FF) >> 1;
rc_flag = subop_grab & 1;
uint16_t subop_grab = (ppc_cur_instruction >> 1) & 0x3FF;
rc_flag = ppc_cur_instruction & 1;
#ifdef EXHAUSTIVE_DEBUG
uint32_t regrab = (uint32_t)subop_grab;
LOG_F(INFO, "Executing Opcode 63 table subopcode entry \n", regrab);