📄 _strpbrk.asm
字号:
;--------------------------------------------------------; File Created by SDCC : FreeWare ANSI-C Compiler; Version 2.3.0 Thu Sep 20 10:57:52 2001;-------------------------------------------------------- .module _strpbrk ;--------------------------------------------------------; Public variables in this module;-------------------------------------------------------- .globl _strpbrk;--------------------------------------------------------; 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; _strpbrk.c 27; genLabel; genFunction; ---------------------------------; Function strpbrk; ---------------------------------___strpbrk_start:_strpbrk: lda sp,-3(sp); _strpbrk.c 34; genAssign; AOP_STK for lda hl,5(sp) ld c,(hl) inc hl ld b,(hl); genLabel00103$:; genPointerGet; AOP_STK for _strpbrk_ch_1_1 ld a,(bc) lda hl,2(sp) ld (hl),a; genAssign; AOP_STK for _strpbrk_ch_1_1; (registers are the same); genIfx; AOP_STK for _strpbrk_ch_1_1 xor a,a; Rule 8: Removed redundent or for (ix) or a,(hl) jp z,00105$; _strpbrk.c 35; genIpush; _saveRegsForCall: sendSetSize: 0 deInUse: 0 bcInUse: 1 deSending: 0 push bc; AOP_STK for _strpbrk_ch_1_1 ld a,(hl) push af inc sp; genIpush; AOP_STK for lda hl,10(sp) ld a,(hl+) ld h,(hl) ld l,a push hl; genCall call _strchr; AOP_STK for _strpbrk_sloc0_1_0 lda hl,6(sp) ld (hl),d dec hl ld (hl),e lda sp,3(sp) pop bc; genIfx; AOP_STK for _strpbrk_sloc0_1_0 ld a,(hl+); Rule 8: Removed redundent or for (ix) or a,(hl) jp z,00103$; _strpbrk.c 36; genRet ld e,c ld d,b jp 00106$; genLabel00105$:; _strpbrk.c 39; genRet ld de,#0x0000; genLabel00106$:; genEndFunction lda sp,3(sp) ret___strpbrk_end: .area _CODE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -