summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Smith2010-06-12 17:22:03 -0700
committerDuncan Smith2010-06-12 17:22:03 -0700
commite0e0e1352a7f2f3002b19b1f13b5cf3b5a17b82d (patch)
tree43c804354d6fb805fc4f1048cd8cb603a3c7ebda
parent3c015cdfccfc5bce6bcce94da5e25972d7b09fb4 (diff)
Made macro DONE consistent with fetch routine
-rw-r--r--main.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.asm b/main.asm
index c4197bc..80aae50 100644
--- a/main.asm
+++ b/main.asm
@@ -164,11 +164,11 @@ HILO MACRO ; 22 cycles, 2 bytes
;;
;; See if I can get rid of the eor
DONE MACRO
- eor.w d0,d0 ; 4 cycles
+ clr.w d0,d0 ; 4 cycles
move.b (a4)+,d0 ; 8 cycles
- rol.w #5,d0 ; 4 cycles adjust to actual alignment
+ rol.w #5,d0 ;16 cycles
jmp 0(a3,d0) ;14 cycles
- ;; overhead: 30 cycles
+ ;; overhead: 42 cycles
ENDM
;; == Special Opcode Macros ========================================