mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-18 03:29:49 +00:00
If the day of the month is in the range 1-9, report it in __DATE__ with a leading space character rather than a leading 0.
This is what is required by the C standards.
This commit is contained in:
parent
1994e7e353
commit
4f736079f0
@ -619,6 +619,11 @@ yeardone clc
|
|||||||
lda 1,S set the day
|
lda 1,S set the day
|
||||||
inc A
|
inc A
|
||||||
jsr convert
|
jsr convert
|
||||||
|
short M
|
||||||
|
cmp #'0'
|
||||||
|
bne dateOK
|
||||||
|
lda #' '
|
||||||
|
dateOK long M
|
||||||
sta date+6
|
sta date+6
|
||||||
pla set the month
|
pla set the month
|
||||||
xba
|
xba
|
||||||
|
Loading…
x
Reference in New Issue
Block a user