183 |
MOV __tmp_reg__,rLow |
MOV __tmp_reg__,rLow |
184 |
ORI rLow,0x20 |
ORI rLow,0x20 |
185 |
CPI rLow,'a' |
CPI rLow,'a' |
186 |
BRLT _isxdigit00 |
BRLT 0f |
187 |
CPI rLow,'f'+1 |
CPI rLow,'f'+1 |
188 |
BRGE 1f |
BRGE 1f |
189 |
RET ; 'a' <= rLow <= 'f' (!= 0!!) |
RET ; 'a' <= rLow <= 'f' (!= 0!!) |
190 |
1: |
1: |
191 |
RJMP _U(__ctype_isfalse) |
RJMP _U(__ctype_isfalse) |
192 |
_isxdigit00: |
0: |
193 |
MOV rLow,__tmp_reg__ |
MOV rLow,__tmp_reg__ |
194 |
RJMP _U(isdigit) |
RJMP _U(isdigit) |
195 |
|
|
277 |
GLOBAL(ispunct) |
GLOBAL(ispunct) |
278 |
mov __tmp_reg__, rLow ; **changed** they do not use it |
mov __tmp_reg__, rLow ; **changed** they do not use it |
279 |
RCALL _U(isprint) ; false: CLR rLow -> EQ, rLow changed |
RCALL _U(isprint) ; false: CLR rLow -> EQ, rLow changed |
280 |
BREQ _ispunct00 ; true : CPI rLow,0x7E+1 -> NE, rLow unchanged |
BREQ 0f ; true : CPI rLow,0x7E+1 -> NE, rLow unchanged |
281 |
|
|
282 |
RCALL _U(isspace) |
RCALL _U(isspace) |
283 |
CPSE rLow,__zero_reg__ |
CPSE rLow,__zero_reg__ |
288 |
TST rLow |
TST rLow |
289 |
BRNE 1b |
BRNE 1b |
290 |
SER rLow |
SER rLow |
291 |
_ispunct00: |
0: |
292 |
RET |
RET |
293 |
|
|
294 |
ENDFUNC |
ENDFUNC |
326 |
PUSH rLow |
PUSH rLow |
327 |
RCALL _U(isalpha) |
RCALL _U(isalpha) |
328 |
POP rLow ; does not change Z |
POP rLow ; does not change Z |
329 |
BREQ _tolower00 |
BREQ 0f |
330 |
ORI rLow,0x20 |
ORI rLow,0x20 |
331 |
_tolower00: |
0: |
332 |
RET |
RET |
333 |
|
|
334 |
ENDFUNC |
ENDFUNC |
344 |
PUSH rLow |
PUSH rLow |
345 |
RCALL _U(isalpha) |
RCALL _U(isalpha) |
346 |
POP rLow ; does not change Z |
POP rLow ; does not change Z |
347 |
BREQ _toupper00 |
BREQ 0f |
348 |
ANDI rLow,0xDF |
ANDI rLow,0xDF |
349 |
_toupper00: |
0: |
350 |
RET |
RET |
351 |
|
|
352 |
ENDFUNC |
ENDFUNC |