mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 16:33:19 +00:00
Fix coding style.
This commit is contained in:
parent
970c5f6184
commit
18ada212e7
@ -1,5 +1,5 @@
|
|||||||
;
|
;
|
||||||
; Piotr Fusik, 07.03.2018
|
; Piotr Fusik, 09.03.2018
|
||||||
; originally by Ullrich von Bassewitz
|
; originally by Ullrich von Bassewitz
|
||||||
;
|
;
|
||||||
; CC65 runtime: Decrement eax by value in Y
|
; CC65 runtime: Decrement eax by value in Y
|
||||||
@ -13,15 +13,24 @@ deceaxy:
|
|||||||
sec
|
sec
|
||||||
sbc tmp1
|
sbc tmp1
|
||||||
bcs @L9
|
bcs @L9
|
||||||
; borrow from X
|
|
||||||
|
; Borrow from X.
|
||||||
|
|
||||||
dex
|
dex
|
||||||
cpx #$ff
|
cpx #$FF
|
||||||
bne @L9
|
bne @L9
|
||||||
; X wrapped from zero to $ff, borrow from sreg
|
|
||||||
|
; X wrapped from zero to $FF, borrow from sreg.
|
||||||
|
|
||||||
dec sreg
|
dec sreg
|
||||||
cpx sreg
|
cpx sreg
|
||||||
bne @L9
|
bne @L9
|
||||||
; sreg wrapped from zero to $ff, borrow from sreg+1
|
|
||||||
|
; sreg wrapped from zero to $FF, borrow from sreg+1.
|
||||||
|
|
||||||
dec sreg+1
|
dec sreg+1
|
||||||
|
|
||||||
|
; Done.
|
||||||
|
|
||||||
@L9: rts
|
@L9: rts
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user