1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-25 22:18:27 +00:00

Removed (pretty inconsistently used) tab chars from source code base.

This commit is contained in:
Oliver Schmidt
2013-05-09 13:56:54 +02:00
parent 44fd1082ae
commit 85885001b1
1773 changed files with 62864 additions and 62868 deletions
+25 -25
View File
@@ -7,9 +7,9 @@
;
; EAX = TOS - EAX
;
.export tossub0ax, tossubeax
.import addysp1
.importzp sp, sreg
.export tossub0ax, tossubeax
.import addysp1
.importzp sp, sreg
.macpack cpu
@@ -19,29 +19,29 @@ tossub0ax:
sty sreg+1
tossubeax:
sec
eor #$FF
sec
eor #$FF
.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 low byte
txa
eor #$FF
adc (sp),y ; byte 1
tax
iny
lda (sp),y
sbc sreg ; byte 2
sta sreg
iny
lda (sp),y
sbc sreg+1 ; byte 3
sta sreg+1
pla ; Restore byte 0
jmp addysp1 ; Drop TOS
pha ; Save low byte
txa
eor #$FF
adc (sp),y ; byte 1
tax
iny
lda (sp),y
sbc sreg ; byte 2
sta sreg
iny
lda (sp),y
sbc sreg+1 ; byte 3
sta sreg+1
pla ; Restore byte 0
jmp addysp1 ; Drop TOS