From 21c994cfcde9b93400dce64c9fbe657979640b1c Mon Sep 17 00:00:00 2001 From: Olaf Seibert Date: Fri, 22 Jan 2021 18:09:42 +0100 Subject: [PATCH] Replace magic value by the appropriate constant. --- assemble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assemble.c b/assemble.c index 1b69dbb..6305545 100644 --- a/assemble.c +++ b/assemble.c @@ -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... */ }