From: Piotr Fusik Date: Fri, 9 Mar 2018 17:48:24 +0000 (+0100) Subject: Fix coding style. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18ada212e7dda94d30e7df9b00f58f856bb8fc50;p=cc65 Fix coding style. --- diff --git a/libsrc/runtime/ldec.s b/libsrc/runtime/ldec.s index e7e891119..f8e59d5c0 100644 --- a/libsrc/runtime/ldec.s +++ b/libsrc/runtime/ldec.s @@ -1,5 +1,5 @@ ; -; Piotr Fusik, 07.03.2018 +; Piotr Fusik, 09.03.2018 ; originally by Ullrich von Bassewitz ; ; CC65 runtime: Decrement eax by value in Y @@ -13,15 +13,24 @@ deceaxy: sec sbc tmp1 bcs @L9 -; borrow from X + +; Borrow from X. + dex - cpx #$ff + cpx #$FF bne @L9 -; X wrapped from zero to $ff, borrow from sreg + +; X wrapped from zero to $FF, borrow from sreg. + dec sreg cpx sreg 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 + +; Done. + @L9: rts