Hacky workaround to make lar work.

This commit is contained in:
David Given 2022-08-10 00:15:40 +02:00
parent b868c1ece9
commit 967b46e98e

View file

@ -11,7 +11,7 @@
void ea_1_16(int param) void ea_1_16(int param)
{ {
reg_1 &= 0377; reg_1 &= 0377;
if ((reg_1 & 070) || (param & ~070)) { if (param & ~070) {
serror("bad operand"); serror("bad operand");
} }
emit1(reg_1 | param); emit1(reg_1 | param);
@ -578,3 +578,6 @@ void imul(int reg)
} }
else badsyntax(); else badsyntax();
} }
// vim: ts=8 sw=8 et