]> git.sur5r.net Git - cc65/blobdiff - libsrc/runtime/add.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / runtime / add.s
index a4a058ddf48ba95ea054fced47831ba0521b3ad9..6fb2dacf7ee48b70d49453e410476ac63a0b61f1 100644 (file)
@@ -7,33 +7,33 @@
 ; Make this as fast as possible, even if it needs more space since it's
 ; called a lot!
 
-               .export         tosadda0, tosaddax
-       .importzp       sp
+        .export         tosadda0, tosaddax
+        .importzp       sp
 
         .macpack        cpu
 
 tosadda0:
-       ldx     #0
+        ldx     #0
 tosaddax:
-       clc
+        clc
 .if (.cpu .bitand CPU_ISET_65SC02)
-       adc     (sp)            ; 65SC02 version - saves 2 cycles
-       ldy     #1
+        adc     (sp)            ; 65SC02 version - saves 2 cycles
+        ldy     #1
 .else
-       ldy     #0
-       adc     (sp),y          ; lo byte
-       iny
+        ldy     #0
+        adc     (sp),y          ; lo byte
+        iny
 .endif
-               pha                     ; save it
-       txa
-       adc     (sp),y          ; hi byte
-       tax
-       clc
-       lda     sp
-       adc     #2
-       sta     sp
-       bcc     L1
-       inc     sp+1
-L1:            pla                     ; Restore low byte
-       rts
+        pha                     ; save it
+        txa
+        adc     (sp),y          ; hi byte
+        tax
+        clc
+        lda     sp
+        adc     #2
+        sta     sp
+        bcc     L1
+        inc     sp+1
+L1:     pla                     ; Restore low byte
+        rts