summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstrid Smith2010-11-12 23:18:38 -0800
committerAstrid Smith2010-11-12 23:18:38 -0800
commit8dbfc78b389ce01023b205b1203cf01b9b13170a (patch)
tree9d0c956b33b15e54ffea196e8a63ed5fdb5a0074
parent6ce50a2a554ae7997d77dfff5ea3c82d27b65719 (diff)
Tiny non-code changes
-rw-r--r--interrupts.asm4
-rw-r--r--opcodes.asm.m44
2 files changed, 4 insertions, 4 deletions
diff --git a/interrupts.asm b/interrupts.asm
index 0a3fcfa..9592d0b 100644
--- a/interrupts.asm
+++ b/interrupts.asm
@@ -49,7 +49,7 @@ int_return: dc.w 0 ; the destination address
;; the above fields with the interrupt type and location.
;; Then the EI macro to enable them will cause it to fire.
HOLD_INTS MACRO
- moveq.b #1,int_held ; 4 cycles
+ move.b #1,int_held
ENDM
;; This is a macro to release a held interrupt.
@@ -61,7 +61,7 @@ ints_continue:
tst.b int_waiting ; 4 cycles
bne.b ints_continue_pending ; 8 cycles not taken
;; Common case: no interrupt pending
- moveq.b #0,int_held ; 4 cycles
+ move.b #0,int_held ; 4 cycles
rts ; 16 cycles
;; typical case: 4+18+4+8+4+16 = 54 cycles
diff --git a/opcodes.asm.m4 b/opcodes.asm.m4
index 12fbd52..6d6be9e 100644
--- a/opcodes.asm.m4
+++ b/opcodes.asm.m4
@@ -1,4 +1,4 @@
-;;; ========================================================================
+;;; == -*- asm -*- =========================================================
;;; ========================================================================
;;; ___ ___ ======= ==============================
;;; ___( _ ) / _ \ emulation core ====================================
@@ -264,7 +264,7 @@ OPCODE(07,«
;; EX AF,AF'
;; No flags
;; XXX AF
-OPCODE(08,
+OPCODE(08,«
swap eaf
»,4,,2)
;nok