We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3835d15 commit ee119baCopy full SHA for ee119ba
src/libc/ispunct.src
@@ -3,21 +3,21 @@
3
section .text
4
public _ispunct
5
_ispunct:
6
- pop hl
7
pop de
+ ex (sp),hl
8
push de
9
- push hl
10
- or a,a
+ ld a,l
+ sub a,33
11
+ cp a,48-33
12
+ ret c
13
+ sub a,58-33
14
+ cp a,65-58
15
16
+ sub a,91-58
17
+ cp a,97-91
18
19
+ sub a,123-91
20
+ cp a,127-123
21
22
sbc hl,hl
- bit 7,e
- ret nz
- ex de,hl
- ld de,___maptab
- add hl,de
- ld a,(hl)
- and a,2
- sbc hl,hl
- ld l,a
- ret
-
23
- extern ___maptab
+ ret
0 commit comments