summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Smith2010-06-09 18:03:20 -0700
committerDuncan Smith2010-06-09 18:03:20 -0700
commite4bb50bdc29cbe9ad8268ff4d6d7c15caae406c0 (patch)
tree6f45771a108a8e12ef8a822a8f29c60716ba73b6
parent00456d52f13d62a86f4f6abcbef63d2ad1e94b25 (diff)
parent6bea1d71595512189f966056bf94cf0e1b07bb08 (diff)
Merge conflict resolved
-rw-r--r--main.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.asm b/main.asm
index a605c15..19dd6e1 100644
--- a/main.asm
+++ b/main.asm
@@ -53,7 +53,7 @@ FETCHB MACRO ; 14 cycles, 4 bytes
;; Macro to write a byte in \1 to main memory at \2 (regs only)
PUTB MACRO ; 14 cycles, 4 bytes
- move.b \1,(a6,\2)
+ move.b \1,0(a6,\2)
ENDM
;; Macro to read a word from main memory at register \1
@@ -61,13 +61,13 @@ PUTB MACRO ; 14 cycles, 4 bytes
FETCHW MACRO ; 32 cycles, 10 bytes
move.b 1(a6,\1.w),\2 ; 14/4
ror.w #8,\2 ; 4/2
- move.b (a6,\1.w),\2 ; 14/4
+ move.b 0(a6,\1.w),\2 ; 14/4
ENDM
;; Macro to write a word in \1 to main memory at \2 (regs only)
;; XXX ALIGNMENT
PUTW MACRO ; 14 cycles, 4 bytes
- move.b \1,(a6,\2)
+ move.b \1,0(a6,\2)
ENDM
;; == Immediate Memory Macros ==
@@ -379,7 +379,7 @@ emu_op_11:
emu_op_12:
;; LD (DE),A
;; No flags
- move.b (a0,d5.w),d3
+ move.b 0(a0,d5.w),d3
DONE
START