Changes resulting from 2nd code review
This commit is contained in:
committed by
Oliver Schmidt
parent
002d1801ec
commit
08705a3fdc
@@ -3,7 +3,7 @@
|
||||
; This file is part of
|
||||
; cc65 - a freeware C compiler for 6502 based systems
|
||||
;
|
||||
; https://github.com/cc65/cc65
|
||||
; https://cc65.github.io
|
||||
;
|
||||
; See "LICENSE" file for legal information.
|
||||
;
|
||||
@@ -17,9 +17,9 @@
|
||||
_isgraph:
|
||||
jsr ctype_preprocessor ; (clears always x)
|
||||
bcs @L1 ; out of range? (everything already clear -> false)
|
||||
and #CT_CTRL_SPACE ; mask character bits
|
||||
cmp #1 ; if false, then set "borrow" flag
|
||||
and #CT_CTRL_SPACE ; mask character bits
|
||||
cmp #1 ; if false, then set "borrow" flag
|
||||
lda #0
|
||||
sbc #0 ; invert logic (return NOT control and NOT space)
|
||||
sbc #0 ; invert logic (return NOT control and NOT space)
|
||||
@L1: rts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user