Correct source bits shift offset for non-register extension word
This commit is contained in:
parent
19dfb6b64c
commit
fc336e78d0
|
@ -784,7 +784,7 @@ int dis_decode(const uint8_t *code, address_t offset, address_t len,
|
||||||
insn->rep_index = ex_word & 0xf;
|
insn->rep_index = ex_word & 0xf;
|
||||||
} else {
|
} else {
|
||||||
insn->dst_addr |= (ex_word & 0xf) << 16;
|
insn->dst_addr |= (ex_word & 0xf) << 16;
|
||||||
insn->src_addr |= ((ex_word >> 6) & 0xf) << 16;
|
insn->src_addr |= ((ex_word >> 7) & 0xf) << 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(ex_word & 0x40))
|
if (!(ex_word & 0x40))
|
||||||
|
|
Loading…
Reference in New Issue