mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-18 16:25:05 +08:00
Fix bugs item #1817677
This commit is contained in:
parent
30b795fd10
commit
f6816b25bf
1
disasm.c
1
disasm.c
@ -511,6 +511,7 @@ static int matches(const struct itemplate *t, uint8_t *data,
|
||||
ins->oprs[c - 060].segment |= SEG_RELATIVE;
|
||||
ins->oprs[c - 060].segment &= ~SEG_32BIT;
|
||||
} else if (c >= 064 && c <= 067) {
|
||||
ins->oprs[c - 064].segment |= SEG_RELATIVE;
|
||||
if (osize == 16) {
|
||||
ins->oprs[c - 064].offset = getu16(data);
|
||||
data += 2;
|
||||
|
Loading…
Reference in New Issue
Block a user