projects
/
ulas
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d7fd8
)
Fixed sla instructions generating the wrong opcode
author
Lukas Krickl
<lukas@krickl.dev>
Sat, 19 Oct 2024 04:24:53 +0000
(06:24 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Sat, 19 Oct 2024 04:24:53 +0000
(06:24 +0200)
src/archs.c
patch
|
blob
|
history
diff --git
a/src/archs.c
b/src/archs.c
index 75c77d677d35ce0352c03a2c88ac9dab795ff795..c71502985d8acadace7081b4371448e037034975 100644
(file)
--- 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", 0x
1
0),
- ULAS_INSTRSM83_PRER8D("sra", 0x
1
8),
+ ULAS_INSTRSM83_PRER8D("sla", 0x
2
0),
+ ULAS_INSTRSM83_PRER8D("sra", 0x
2
8),
ULAS_INSTRSM83_PRER8D("srl", 0x38),
ULAS_INSTRSM83_PREBITR8D("bit", 0x40, '0'),