mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-02 19:29:21 +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
|
||||
inc A
|
||||
jsr convert
|
||||
short M
|
||||
cmp #'0'
|
||||
bne dateOK
|
||||
lda #' '
|
||||
dateOK long M
|
||||
sta date+6
|
||||
pla set the month
|
||||
xba
|
||||
|
Loading…
Reference in New Issue
Block a user