mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
Proactively fixes li sign extension.
This commit is contained in:
parent
eb8d0eefd5
commit
5401ff6c78
@ -178,7 +178,7 @@ struct Instruction {
|
||||
0x0000'0000,
|
||||
0xfc00'0000
|
||||
};
|
||||
const uint32_t value = (opcode & 0x03ff'fffc) | extensions[(opcode >> 26) & 1];
|
||||
const uint32_t value = (opcode & 0x03ff'fffc) | extensions[(opcode >> 25) & 1];
|
||||
return int32_t(value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user