📄 _ispunct.asm
字号:
;--------------------------------------------------------; File Created by SDCC : FreeWare ANSI-C Compiler; Version 2.3.0 Thu Sep 20 10:57:48 2001;-------------------------------------------------------- .module _ispunct ;--------------------------------------------------------; Public variables in this module;-------------------------------------------------------- .globl _ispunct;--------------------------------------------------------; special function registers;--------------------------------------------------------;--------------------------------------------------------; special function bits ;--------------------------------------------------------;--------------------------------------------------------; internal ram data;-------------------------------------------------------- .area _DATA;--------------------------------------------------------; overlayable items in internal ram ;-------------------------------------------------------- .area _OVERLAY;--------------------------------------------------------; indirectly addressable internal ram data;-------------------------------------------------------- .area _ISEG;--------------------------------------------------------; bit data;-------------------------------------------------------- .area _BSEG;--------------------------------------------------------; external ram data;-------------------------------------------------------- .area _XSEG;--------------------------------------------------------; global & static initialisations;-------------------------------------------------------- .area _GSINIT .area _GSFINAL .area _GSINIT;--------------------------------------------------------; Home;-------------------------------------------------------- .area _HOME .area _CODE;--------------------------------------------------------; code;-------------------------------------------------------- .area _CODE; _ispunct.c 25; genLabel; genFunction; ---------------------------------; Function ispunct; ---------------------------------___ispunct_start:_ispunct: push ix ld ix,#0 add ix,sp; _ispunct.c 28; genIpush; _saveRegsForCall: sendSetSize: 0 deInUse: 0 bcInUse: 0 deSending: 0; AOP_STK for ld a,4(ix) push af inc sp; genCall call _isprint ld c,l inc sp; genIfx xor a,a or a,c jp z,00102$; _ispunct.c 29; genIpush; _saveRegsForCall: sendSetSize: 0 deInUse: 0 bcInUse: 0 deSending: 0; AOP_STK for ld a,4(ix) push af inc sp; genCall call _islower ld c,l inc sp; genIfx xor a,a or a,c jp nz,00102$; _ispunct.c 30; genIpush; _saveRegsForCall: sendSetSize: 0 deInUse: 0 bcInUse: 0 deSending: 0; AOP_STK for ld a,4(ix) push af inc sp; genCall call _isupper ld c,l inc sp; genIfx xor a,a or a,c jp nz,00102$; _ispunct.c 31; genCmpEq; AOP_STK for ; genCmpEq: left 1, right 1, result 0 ld a,4(ix) cp a,#0x20; Rule 5: Changed jump logic jp z,00102$00114$:; _ispunct.c 32; genIpush; _saveRegsForCall: sendSetSize: 0 deInUse: 0 bcInUse: 0 deSending: 0; AOP_STK for ld a,4(ix) push af inc sp; genCall call _isdigit ld c,l inc sp; genIfx xor a,a or a,c jp nz,00102$; _ispunct.c 33; genRet ld l,#0x01 jp 00107$; genLabel00102$:; _ispunct.c 34; genRet ld l,#0x00; genLabel00107$:; genEndFunction pop ix ret___ispunct_end: .area _CODE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -