From: Lukas Krickl Date: Sat, 19 Oct 2024 04:24:53 +0000 (+0200) Subject: Fixed sla instructions generating the wrong opcode X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=9bcc7d15d72d2cb07b66b50b2d2c9f47f92824d2;p=ulas%2F.git Fixed sla instructions generating the wrong opcode --- 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'),