summaryrefslogtreecommitdiff
path: root/opcodes.asm
diff options
context:
space:
mode:
authorDuncan Smith2010-09-13 19:26:26 -0700
committerDuncan Smith2010-09-13 19:26:26 -0700
commit22a80c02484228e74421b7702fdb8c5623fbe3d3 (patch)
tree5bf75fa854f77d97aac53d8faee480acb9ca5a17 /opcodes.asm
parent9f26b036aadf4fa3856586935f105868a93a189f (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