From 39db628ea95cd5c44fe83baefaa9200d971ee9c5 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Fri, 15 Dec 2023 09:58:53 +0100 Subject: [PATCH] Fixed di instruction opcode --- src/ulas.c | 2 +- tests/t0.bin | Bin 171 -> 171 bytes 2 files changed, 1 insertion(+), 1 deletion(-) 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 86f977a0e689ae4e568fe83cd0d813bc2639d3d9..3e4672e297aa7539d8d992196006790383450291 100644 GIT binary patch delta 33 pcmZ3@xSElbp-h0`^F-Fk!Y$>DcC*heWIS#DijhH>$xhKu8341u3K;+Z delta 33 pcmZ3@xSElbp-h0`%S6`6!p-H3cC*heWIS#DijhH>$xhKu8341z3K;+Z -- 2.30.2