gas2ack fix
- fixed handling of segment overrides for instruction that may use two of them in the long format, e.g. movs
This commit is contained in:
parent
d70e7ff3b6
commit
c5001b0a5f
1 changed files with 3 additions and 2 deletions
|
@ -701,7 +701,8 @@ static expression_t *gnu_get_oplist(asm86_t * a, int *pn, int deref)
|
||||||
|
|
||||||
t = get_token(*pn);
|
t = get_token(*pn);
|
||||||
|
|
||||||
if (t->symbol == ':' && IS_REGSEG(sreg = isregister(e->name))) {
|
if (t->symbol == ':' && IS_REGSEG(sreg = isregister(e->name))
|
||||||
|
&& a->seg == DEFSEG) {
|
||||||
a->seg = segreg2seg(sreg);
|
a->seg = segreg2seg(sreg);
|
||||||
del_expr(e);
|
del_expr(e);
|
||||||
(*pn)++;
|
(*pn)++;
|
||||||
|
|
Loading…
Reference in a new issue