summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Smith2010-11-12 23:18:38 -0800
committerDuncan Smith2010-11-12 23:18:38 -0800
commit677c903c27858a0d5ef7b09c4273550770673b4a (patch)
treec04ef3755e8c7686c891b1632b1e875b006389d8
parent4632b7527eb009963c65abe90f96670bfc22ebb1 (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