Skip to content

Commit 9828409

Browse files
[libc] optimize _isblank
1 parent cb31b9e commit 9828409

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libc/isblank.src

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ _isblank:
99
ld a,l
1010
cp a,32
1111
ret z
12-
cp a,9
12+
xor a,9
1313
ret z
14-
or a,a
1514
sbc hl,hl
1615
ret

0 commit comments

Comments
 (0)