From bf38917ee07d80ff9d26fd9d29b9d26cbe48e69f Mon Sep 17 00:00:00 2001 From: jn Date: Sat, 31 Dec 2022 12:17:15 +0100 Subject: [PATCH] Fix number of operands for OP_FLP in instruction info table FLP takes a source operand. --- src/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu.c b/src/cpu.c index 5f28b10..edda79e 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -246,7 +246,7 @@ static const asm_iinfo_t asm_iinfos[256] = { [OP_IREM ] = { "IREM ", 2 }, [OP_RTA ] = { "RTA ", 2 }, [OP_RETI ] = { "RETI ", 0 }, - [OP_FLP ] = { "FLP ", 0 } + [OP_FLP ] = { "FLP ", 1 } }; static const asm_iinfo_t *asm_iinfo_get(uint8_t opcode) {