mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-17 13:29:02 +00:00
Add decoding of lwa.
This commit is contained in:
parent
8a3c16a5bc
commit
8a1409184f
@ -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'00: return Instruction(Operation::std, opcode);
|
||||||
case 0b111110'00'00000000'00000000'000000'01:
|
case 0b111110'00'00000000'00000000'000000'01:
|
||||||
if(is64bit(model_)) return Instruction(Operation::stdu, opcode);
|
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
|
// sc
|
||||||
|
Loading…
Reference in New Issue
Block a user