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:
kaashoek 1988-05-31 12:54:30 +00:00
parent 60de25db56
commit 12db9cf64e

View file

@ -207,8 +207,10 @@ char *mnem;
if ( rel == 0 )
break;
else if ( high == low)
else if ( high == low) {
error( "can't find %s", mnem);
return;
}
else if ( rel < 0)
high = mid;
else