From 9bcc7d15d72d2cb07b66b50b2d2c9f47f92824d2 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sat, 19 Oct 2024 06:24:53 +0200 Subject: [PATCH] Fixed sla instructions generating the wrong opcode --- src/archs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/archs.c b/src/archs.c index 75c77d6..c715029 100644 --- a/src/archs.c +++ b/src/archs.c @@ -285,8 +285,8 @@ const struct ulas_instr ULASINSTRS_SM83[] = { ULAS_INSTRSM83_PRER8D("rrc", 0x08), ULAS_INSTRSM83_PRER8D("rl", 0x10), ULAS_INSTRSM83_PRER8D("rr", 0x18), - ULAS_INSTRSM83_PRER8D("sla", 0x10), - ULAS_INSTRSM83_PRER8D("sra", 0x18), + ULAS_INSTRSM83_PRER8D("sla", 0x20), + ULAS_INSTRSM83_PRER8D("sra", 0x28), ULAS_INSTRSM83_PRER8D("srl", 0x38), ULAS_INSTRSM83_PREBITR8D("bit", 0x40, '0'), -- 2.30.2