Correct source bits shift offset for non-register extension word

This commit is contained in:
Peter A. Bigot 2012-06-27 01:54:10 -05:00 committed by Daniel Beer
parent 19dfb6b64c
commit fc336e78d0
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,7 @@ int dis_decode(const uint8_t *code, address_t offset, address_t len,
insn->rep_index = ex_word & 0xf;
} else {
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))