Execute_mnemonic() is changed so it won't loop when it can't find the
assembly-mnemonic in the as_table.
This commit is contained in:
parent
60de25db56
commit
12db9cf64e
|
@ -207,8 +207,10 @@ char *mnem;
|
||||||
|
|
||||||
if ( rel == 0 )
|
if ( rel == 0 )
|
||||||
break;
|
break;
|
||||||
else if ( high == low)
|
else if ( high == low) {
|
||||||
error( "can't find %s", mnem);
|
error( "can't find %s", mnem);
|
||||||
|
return;
|
||||||
|
}
|
||||||
else if ( rel < 0)
|
else if ( rel < 0)
|
||||||
high = mid;
|
high = mid;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue