Mask the lower 3 bits of the de RSP operand

This commit is contained in:
Angie 2024-05-17 22:13:39 -04:00
parent e0e52d1fc3
commit 657455433c
2 changed files with 2 additions and 1 deletions

View file

@ -309,7 +309,7 @@ bool process_instruction(size_t instr_index, const std::vector<rabbitizer::Instr
operand_string += fmt::format("{}, ", vs);
break;
case RspOperand::De:
operand_string += fmt::format("{}, ", instr.GetRsp_de());
operand_string += fmt::format("{} & 7, ", instr.GetRsp_de());
break;
case RspOperand::Rt:
operand_string += fmt::format("{}{}, ", ctx_gpr_prefix(rt), rt);

1
lib/toml11 Submodule

@ -0,0 +1 @@
Subproject commit d47fe788bcb08c9d0d2a73954a0dfaf512964fdc