fix incorrect disassembly of MOV rx_fifo (#2067)

This commit is contained in:
Graham Sanderson 2024-11-20 10:57:22 -06:00 committed by GitHub
parent c2118cc005
commit 06a244b2b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,8 +90,8 @@ std::string disassemble(uint inst, uint sideset_bits_including_opt, bool sideset
invalid = true;
} else {
std::string index;
if (arg2 & 8) index = "y";
else index = std::to_string(arg2 & 7);
if (arg2 & 8) index = std::to_string(arg2 & 3);
else index = "y";
std::string guts = "";
op("mov");
if (arg1 & 4) {