Skip to content

Commit cb31b9e

Browse files
[libc] optimize _isascii
1 parent 36ec4e7 commit cb31b9e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libc/isascii.src

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ _isascii:
66
pop de
77
ex (sp),hl
88
push de
9-
ld de,-128
10-
add hl,de
9+
sla l
1110
sbc hl,hl
1211
inc hl
1312
ret

0 commit comments

Comments
 (0)