From 4f736079f074af35303126bbc852922aff97cc25 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Tue, 15 Nov 2016 00:51:46 -0600 Subject: [PATCH] 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. --- Scanner.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Scanner.asm b/Scanner.asm index 29d93d9..2c68237 100644 --- a/Scanner.asm +++ b/Scanner.asm @@ -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