]> git.sur5r.net Git - cc65/commitdiff
Style changes. 226/head
authorGreg King <gregdk@users.sf.net>
Sat, 7 Nov 2015 05:29:07 +0000 (00:29 -0500)
committerGreg King <gregdk@users.sf.net>
Sat, 7 Nov 2015 05:29:07 +0000 (00:29 -0500)
libsrc/pce/memcpy.s
libsrc/pce/memmove.s

index 1743912ea4b01a8bf9db67bf5ebc2b46a1b860b5..40f831e30d13e58d94c0a213ad7cd4d0c26e4404 100644 (file)
@@ -35,25 +35,25 @@ _memcpy:
         jsr     memcpy_getparams
 
 memcpy_increment:
-        ldy     #$73                    ; TII
+        ldy     #$73                    ; TII opcode
 
 memcpy_transfer:
-        sty     transfer+opcode
+        sty     transfer + opcode
 
         lda     ptr1
         ldx     ptr1+1
-        sta     transfer+source
-        stx     transfer+source+1
+        sta     transfer + source
+        stx     transfer + source+1
 
         lda     ptr2
         ldx     ptr2+1
-        sta     transfer+destination
-        stx     transfer+destination+1
+        sta     transfer + destination
+        stx     transfer + destination+1
 
         lda     ptr3
         ldx     ptr3+1
-        sta     transfer+length
-        stx     transfer+length+1
+        sta     transfer + length
+        stx     transfer + length+1
 
         jmp     transfer
 
index 9a7feebf5e6a1c4b048a20943e1372dd3bca69da..4b80da2af4690dc49e2c2202a1d3ef214f795a08 100644 (file)
@@ -59,5 +59,5 @@ _memmove:
         dec     ptr2+1
 @L2:    dec     ptr2
 
-        ldy     #$C3                    ; TDD
+        ldy     #$C3                    ; TDD opcode
         jmp     memcpy_transfer