summaryrefslogtreecommitdiff
path: root/opcodes.asm
diff options
context:
space:
mode:
authorAstrid Smith2010-09-13 19:26:26 -0700
committerAstrid Smith2010-09-13 19:26:26 -0700
commit99e9a0b3e009a780422bee65ceb75515d2e7f431 (patch)
treede0b4a53d59f74716fd3e2def5c849f943b78c24 /opcodes.asm
parentd12a27ae6259465790c4b9a4c557cdd9deb3e109 (diff)
Started out on my own test suite
Diffstat (limited to 'opcodes.asm')
-rw-r--r--opcodes.asm9
1 files changed, 4 insertions, 5 deletions
diff --git a/opcodes.asm b/opcodes.asm
index f2b5256..e140cfc 100644
--- a/opcodes.asm
+++ b/opcodes.asm
@@ -205,8 +205,9 @@ emu_op_01: ; S12 T36
START
emu_op_02: ; S4 T14
;; LD (BC),A
+ ;; (BC) <- A
;; No flags
- FETCHB ebc,eaf
+ PUTB eaf,ebc
DONE
START
@@ -268,16 +269,14 @@ emu_op_09:
;; HL <- HL+BC
;; Flags: H, C aff.; N=0
F_ADD_W ebc,ehl
- DONE
+ DONE ;nok
START
emu_op_0a: ; S4 T14
;; LD A,(BC)
;; A <- (BC)
;; No flags
- move.w ebc,d1
- rol.w #8,d1
- FETCHB d1,eaf
+ FETCHB ebc,eaf
DONE
START