Replace magic value by the appropriate constant.

This commit is contained in:
Olaf Seibert 2021-01-22 18:09:42 +01:00
parent a25a509ca5
commit 21c994cfcd

View File

@ -1340,7 +1340,7 @@ static int assemble(
return 0;
}
if (op->value == 0100 && (mode.type & 070) == 0) {
if (op->value == I_JMP && (mode.type & 070) == 0) {
report(stack->top, "JMP Rn is illegal\n");
/* But encode it anyway... */
}