1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-16 02:10:52 +00:00

Fix CRLFs introduced by fe3f267

This commit is contained in:
Jesse Rosenstock 2020-09-18 08:42:56 +02:00 committed by Oliver Schmidt
parent b8ae5c28fe
commit 0482e4d6e4
2 changed files with 41 additions and 41 deletions

View File

@ -1,21 +1,21 @@
;
; acqn, 01.16.2020
;
; CC65 runtime: boolean cast
;
.export bcasta, bcastax
bcastax:
cpx #0
bne L1
bcasta:
tax
beq L0 ; Zero already in X
L1: ldx #0
lda #1
L0: rts
;
; acqn, 01.16.2020
;
; CC65 runtime: boolean cast
;
.export bcasta, bcastax
bcastax:
cpx #0
bne L1
bcasta:
tax
beq L0 ; Zero already in X
L1: ldx #0
lda #1
L0: rts

View File

@ -1,20 +1,20 @@
;
; acqn, 01.16.2020
;
; CC65 runtime: boolean cast for longs
;
.export bcasteax
.importzp sreg, tmp1
bcasteax:
stx tmp1
ldx #0 ; High byte of result
ora tmp1
ora sreg
ora sreg+1
beq L0
lda #1
L0: rts
;
; acqn, 01.16.2020
;
; CC65 runtime: boolean cast for longs
;
.export bcasteax
.importzp sreg, tmp1
bcasteax:
stx tmp1
ldx #0 ; High byte of result
ora tmp1
ora sreg
ora sreg+1
beq L0
lda #1
L0: rts