1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-04 18:29:40 +00:00

Add decoding of lwa.

This commit is contained in:
Thomas Harte 2022-04-02 10:31:55 -04:00
parent 8a3c16a5bc
commit 8a1409184f

View File

@ -329,7 +329,10 @@ Instruction Decoder::decode(uint32_t opcode) {
case 0b111110'00'00000000'00000000'000000'00: return Instruction(Operation::std, opcode);
case 0b111110'00'00000000'00000000'000000'01:
if(is64bit(model_)) return Instruction(Operation::stdu, opcode);
return Instruction(opcode);
return Instruction(opcode);
case 0b111010'00'00000000'00000000'000000'10:
if(is64bit(model_)) return Instruction(Operation::lwa, opcode);
return Instruction(opcode);
}
// sc