diff options
| author | Astrid Smith | 2010-06-20 17:05:45 -0700 |
|---|---|---|
| committer | Astrid Smith | 2010-06-20 17:05:45 -0700 |
| commit | 782319608249c0c4ed8a22a3a27fcc729cb33156 (patch) | |
| tree | bae2a74982a19725a181dd360653819af78b9e75 | |
| parent | df1455c1313f43c12a71ab54251617123e8aa084 (diff) | |
Slightly reworked POPW
| -rw-r--r-- | main.asm | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -109,13 +109,11 @@ PUSHW MACRO ;; \1_h <- (SP+1) ;; \1_l <- (SP) ;; SP <- SP + 2 -; XXX why not (a4)+ both times, and then get rid of addq.w #2,a4 ? POPW MACRO - move.b (a4),\1 + move.b (a4)+,\1 LOHI \1 ;slow - move.b (a4),\1 ; high byte + move.b (a4)+,\1 ; high byte HILO \1 ;slow - addq.w #2,a4 ENDM ;; == Immediate Memory Macros == |
