1
0
mirror of https://github.com/hsoft/collapseos.git synced 2025-04-12 10:18:16 +10:00

Remove inlining of isWS

This commit is contained in:
Clanmaster21 2020-01-09 22:52:51 +00:00 committed by GitHub
parent 145eb65a8e
commit 77c144944c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,9 +9,7 @@ isWS:
; Set Z if WS found, unset if end-of-string. ; Set Z if WS found, unset if end-of-string.
toWS: toWS:
ld a, (hl) ld a, (hl)
cp ' ' call isWS
ret z
cp 0x09
ret z ret z
cp 0x01 ; if a is null, carries and unsets z cp 0x01 ; if a is null, carries and unsets z
ret c ret c