1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-25 22:18:27 +00:00

Changes resulting from code review.

This commit is contained in:
IrgendwerA8
2020-01-05 15:57:44 +01:00
committed by Oliver Schmidt
parent ce80624f62
commit 002d1801ec
6 changed files with 17 additions and 21 deletions
+1 -2
View File
@@ -28,8 +28,7 @@ loop: lda (ptr1),y ; get character
and #CT_LOWER ; lower case char?
beq L1 ; jump if no
lda (ptr1),y ; fetch character again
clc
adc #<('A'-'a') ; make upper case char
adc #<('A'-'a') ; make upper case char (ctype_preprocessor_no_check ensures carry clear)
sta (ptr1),y ; store back
L1: iny ; next char
bne loop