mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-27 23:40:25 +00:00
Merge pull request #845 from emoon/fix-8-bit-displacement
[M68K] Fixed incorrect 8-bit displacement
This commit is contained in:
commit
432d08f8f6
@ -409,7 +409,7 @@ static void get_with_index_address_mode(m68k_info *info, cs_m68k_op* op, uint in
|
||||
op->address_mode = M68K_AM_AREGI_INDEX_8_BIT_DISP;
|
||||
}
|
||||
|
||||
op->mem.disp = extension & 0xff;
|
||||
op->mem.disp = (int8_t)(extension & 0xff);
|
||||
}
|
||||
|
||||
if (EXT_INDEX_SCALE(extension)) {
|
||||
|
Loading…
Reference in New Issue
Block a user