Update
This commit is contained in:
parent
b3eb9b99c7
commit
732aa2803f
@ -58,7 +58,6 @@ int main(int argc, char *argv[]) {
|
|||||||
(inst & (uint16_t)FLAGS::REG_DEST) == (uint16_t)FLAGS::REG_DEST;
|
(inst & (uint16_t)FLAGS::REG_DEST) == (uint16_t)FLAGS::REG_DEST;
|
||||||
bool word = (inst & (uint16_t)FLAGS::WORD) == (uint16_t)FLAGS::WORD;
|
bool word = (inst & (uint16_t)FLAGS::WORD) == (uint16_t)FLAGS::WORD;
|
||||||
|
|
||||||
// NOTE: Using right shift will only work on little-endian CPUs
|
|
||||||
uint16_t operands_info = inst >> 8;
|
uint16_t operands_info = inst >> 8;
|
||||||
|
|
||||||
if (decode_mode(operands_info) == (uint16_t)MODE::REG) {
|
if (decode_mode(operands_info) == (uint16_t)MODE::REG) {
|
||||||
|
Loading…
Reference in New Issue
Block a user