From: Lukas Krickl Date: Fri, 15 Dec 2023 08:58:53 +0000 (+0100) Subject: Fixed di instruction opcode X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=39db628ea95cd5c44fe83baefaa9200d971ee9c5;p=ulas%2F.git Fixed di instruction opcode --- diff --git a/src/ulas.c b/src/ulas.c index d8ed1f2..2e7770b 100644 --- a/src/ulas.c +++ b/src/ulas.c @@ -1885,7 +1885,7 @@ const struct ulas_instr ULASINSTRS[] = { {"nop", {0}, {(short)ULAS_DATZERO, 0}}, {"halt", {0}, {0x76, 0}}, {"stop", {0}, {0x10, (short)ULAS_DATZERO, 0x00}}, - {"di", {0}, {0xF4, 0x00}}, + {"di", {0}, {0xF3, 0x00}}, {"ei", {0}, {0xFB, 0x00}}, // misc diff --git a/tests/t0.bin b/tests/t0.bin index 86f977a..3e4672e 100644 Binary files a/tests/t0.bin and b/tests/t0.bin differ