From: uz Date: Thu, 10 Dec 2009 22:12:24 +0000 (+0000) Subject: Replaced $30 by literal '0' for better readability. X-Git-Tag: V2.13.1~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7e2a24176f6b9cd11d0c50ef585647d73d10db44;p=cc65 Replaced $30 by literal '0' for better readability. git-svn-id: svn://svn.cc65.org/cc65/trunk@4513 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/c128/crt0.s b/libsrc/c128/crt0.s index 0c9edfa77..f5ba7b9ab 100644 --- a/libsrc/c128/crt0.s +++ b/libsrc/c128/crt0.s @@ -29,10 +29,10 @@ IRQInd = $2FD ; JMP $0000 - used as indirect IRQ vector Head: .word @Next .word .version ; Line number .byte $9E ; SYS token - .byte <(((Start / 1000) .mod 10) + $30) - .byte <(((Start / 100) .mod 10) + $30) - .byte <(((Start / 10) .mod 10) + $30) - .byte <(((Start / 1) .mod 10) + $30) + .byte <(((Start / 1000) .mod 10) + '0') + .byte <(((Start / 100) .mod 10) + '0') + .byte <(((Start / 10) .mod 10) + '0') + .byte <(((Start / 1) .mod 10) + '0') .byte $00 ; End of BASIC line @Next: .word 0 ; BASIC end marker diff --git a/libsrc/c16/crt0.s b/libsrc/c16/crt0.s index d56e7bfde..bbdd4a252 100644 --- a/libsrc/c16/crt0.s +++ b/libsrc/c16/crt0.s @@ -25,10 +25,10 @@ Head: .word @Next .word .version ; Line number .byte $9E ; SYS token - .byte <(((Start / 1000) .mod 10) + $30) - .byte <(((Start / 100) .mod 10) + $30) - .byte <(((Start / 10) .mod 10) + $30) - .byte <(((Start / 1) .mod 10) + $30) + .byte <(((Start / 1000) .mod 10) + '0') + .byte <(((Start / 100) .mod 10) + '0') + .byte <(((Start / 10) .mod 10) + '0') + .byte <(((Start / 1) .mod 10) + '0') .byte $00 ; End of BASIC line @Next: .word 0 ; BASIC end marker diff --git a/libsrc/c64/crt0.s b/libsrc/c64/crt0.s index efa80b12e..a533d7568 100644 --- a/libsrc/c64/crt0.s +++ b/libsrc/c64/crt0.s @@ -24,10 +24,10 @@ Head: .word @Next .word .version ; Line number .byte $9E ; SYS token - .byte <(((Start / 1000) .mod 10) + $30) - .byte <(((Start / 100) .mod 10) + $30) - .byte <(((Start / 10) .mod 10) + $30) - .byte <(((Start / 1) .mod 10) + $30) + .byte <(((Start / 1000) .mod 10) + '0') + .byte <(((Start / 100) .mod 10) + '0') + .byte <(((Start / 10) .mod 10) + '0') + .byte <(((Start / 1) .mod 10) + '0') .byte $00 ; End of BASIC line @Next: .word 0 ; BASIC end marker diff --git a/libsrc/pet/crt0.s b/libsrc/pet/crt0.s index 7be1d16fa..bc9799f77 100644 --- a/libsrc/pet/crt0.s +++ b/libsrc/pet/crt0.s @@ -23,10 +23,10 @@ Head: .word @Next .word .version ; Line number .byte $9E ; SYS token - .byte <(((Start / 1000) .mod 10) + $30) - .byte <(((Start / 100) .mod 10) + $30) - .byte <(((Start / 10) .mod 10) + $30) - .byte <(((Start / 1) .mod 10) + $30) + .byte <(((Start / 1000) .mod 10) + '0') + .byte <(((Start / 100) .mod 10) + '0') + .byte <(((Start / 10) .mod 10) + '0') + .byte <(((Start / 1) .mod 10) + '0') .byte $00 ; End of BASIC line @Next: .word 0 ; BASIC end marker diff --git a/libsrc/plus4/crt0.s b/libsrc/plus4/crt0.s index 36f1c0211..f9e79db78 100644 --- a/libsrc/plus4/crt0.s +++ b/libsrc/plus4/crt0.s @@ -28,10 +28,10 @@ IRQInd = $500 ; JMP $0000 - used as indirect IRQ vector Head: .word @Next .word .version ; Line number .byte $9E ; SYS token - .byte <(((Start / 1000) .mod 10) + $30) - .byte <(((Start / 100) .mod 10) + $30) - .byte <(((Start / 10) .mod 10) + $30) - .byte <(((Start / 1) .mod 10) + $30) + .byte <(((Start / 1000) .mod 10) + '0') + .byte <(((Start / 100) .mod 10) + '0') + .byte <(((Start / 10) .mod 10) + '0') + .byte <(((Start / 1) .mod 10) + '0') .byte $00 ; End of BASIC line @Next: .word 0 ; BASIC end marker diff --git a/libsrc/vic20/crt0.s b/libsrc/vic20/crt0.s index e48506f33..9c8a53be8 100644 --- a/libsrc/vic20/crt0.s +++ b/libsrc/vic20/crt0.s @@ -23,10 +23,10 @@ Head: .word @Next .word .version ; Line number .byte $9E ; SYS token - .byte <(((Start / 1000) .mod 10) + $30) - .byte <(((Start / 100) .mod 10) + $30) - .byte <(((Start / 10) .mod 10) + $30) - .byte <(((Start / 1) .mod 10) + $30) + .byte <(((Start / 1000) .mod 10) + '0') + .byte <(((Start / 100) .mod 10) + '0') + .byte <(((Start / 10) .mod 10) + '0') + .byte <(((Start / 1) .mod 10) + '0') .byte $00 ; End of BASIC line @Next: .word 0 ; BASIC end marker