Removed (pretty inconsistently used) tab chars from source code base.
This commit is contained in:
@@ -4,30 +4,30 @@
|
||||
; CC65 runtime: Convert tos from long to int
|
||||
;
|
||||
|
||||
.export tosint
|
||||
.import incsp2
|
||||
.importzp sp
|
||||
.export tosint
|
||||
.import incsp2
|
||||
.importzp sp
|
||||
|
||||
.macpack cpu
|
||||
|
||||
; Convert TOS from long to int by cutting of the high 16bit
|
||||
|
||||
.proc tosint
|
||||
.proc tosint
|
||||
|
||||
pha
|
||||
pha
|
||||
.if (.cpu .bitand ::CPU_ISET_65SC02)
|
||||
lda (sp)
|
||||
lda (sp)
|
||||
.else
|
||||
ldy #0
|
||||
lda (sp),y ; sp+1
|
||||
ldy #0
|
||||
lda (sp),y ; sp+1
|
||||
.endif
|
||||
ldy #2
|
||||
sta (sp),y
|
||||
dey
|
||||
lda (sp),y
|
||||
ldy #3
|
||||
sta (sp),y
|
||||
pla
|
||||
jmp incsp2 ; Drop 16 bit
|
||||
ldy #2
|
||||
sta (sp),y
|
||||
dey
|
||||
lda (sp),y
|
||||
ldy #3
|
||||
sta (sp),y
|
||||
pla
|
||||
jmp incsp2 ; Drop 16 bit
|
||||
|
||||
.endproc
|
||||
|
||||
Reference in New Issue
Block a user