Fixed di instruction opcode
authorLukas Krickl <lukas@krickl.dev>
Fri, 15 Dec 2023 08:58:53 +0000 (09:58 +0100)
committerLukas Krickl <lukas@krickl.dev>
Fri, 15 Dec 2023 08:58:53 +0000 (09:58 +0100)
src/ulas.c
tests/t0.bin

index d8ed1f2208f27852972f4945e853603a659cbc1b..2e7770b94266bebaaa2479fd1284ea145f770bfe 100644 (file)
@@ -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
index 86f977a0e689ae4e568fe83cd0d813bc2639d3d9..3e4672e297aa7539d8d992196006790383450291 100644 (file)
Binary files a/tests/t0.bin and b/tests/t0.bin differ