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:
Tomas Hruby 2010-02-05 13:53:10 +00:00
parent d70e7ff3b6
commit c5001b0a5f

View file

@ -701,7 +701,8 @@ static expression_t *gnu_get_oplist(asm86_t * a, int *pn, int deref)
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);
del_expr(e);
(*pn)++;