projects
/
ulas
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2a63d7
)
Fixed di instruction opcode
author
Lukas Krickl
<lukas@krickl.dev>
Fri, 15 Dec 2023 08:58:53 +0000
(09:58 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Fri, 15 Dec 2023 08:58:53 +0000
(09:58 +0100)
src/ulas.c
patch
|
blob
|
history
tests/t0.bin
patch
|
blob
|
history
diff --git
a/src/ulas.c
b/src/ulas.c
index d8ed1f2208f27852972f4945e853603a659cbc1b..2e7770b94266bebaaa2479fd1284ea145f770bfe 100644
(file)
--- 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}, {0xF
4
, 0x00}},
+ {"di", {0}, {0xF
3
, 0x00}},
{"ei", {0}, {0xFB, 0x00}},
// misc
diff --git
a/tests/t0.bin
b/tests/t0.bin
index 86f977a0e689ae4e568fe83cd0d813bc2639d3d9..3e4672e297aa7539d8d992196006790383450291 100644
(file)
Binary files a/tests/t0.bin and b/tests/t0.bin differ