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

View File

@@ -4,32 +4,32 @@
; CC65 runtime: sub ints
;
.export tossuba0, tossubax
.import addysp1
.importzp sp
.export tossuba0, tossubax
.import addysp1
.importzp sp
.macpack cpu
; AX = TOS - AX
tossuba0:
ldx #0
ldx #0
tossubax:
sec
eor #$FF
sec
eor #$FF
.if (.cpu .bitand CPU_ISET_65SC02)
adc (sp)
ldy #1
adc (sp)
ldy #1
.else
ldy #0
adc (sp),y ; Subtract low byte
iny
ldy #0
adc (sp),y ; Subtract low byte
iny
.endif
pha ; Save high byte
pha ; Save high byte
txa
eor #$FF
adc (sp),y ; Subtract high byte
tax ; High byte into X
pla ; Restore low byte
jmp addysp1 ; drop TOS
eor #$FF
adc (sp),y ; Subtract high byte
tax ; High byte into X
pla ; Restore low byte
jmp addysp1 ; drop TOS