summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorAstrid Smith2010-06-12 17:22:03 -0700
committerAstrid Smith2010-06-12 17:22:03 -0700
commit1753e5617fcb4cc1a5feddcbe1b572764b987722 (patch)
tree22287e6f4f7fda03ba37e6e1206845d896eef8b6 /main.asm
parent8dcefecca20aeca6d2ea3748ea181bd96be68ca2 (diff)
Made macro DONE consistent with fetch routine
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.asm b/main.asm
index 6f6d3f8..e7401f4 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 ========================================