📄 _strcat.asm
字号:
;--------------------------------------------------------; File Created by SDCC : FreeWare ANSI-C Compiler; Version 2.3.0 Thu Sep 20 10:57:53 2001;-------------------------------------------------------- .module _strcat ;--------------------------------------------------------; Public variables in this module;-------------------------------------------------------- .globl _strcat;--------------------------------------------------------; 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; _strcat.c 26; genLabel; genFunction; ---------------------------------; Function strcat; ---------------------------------___strcat_start:_strcat: ; _strcat.c 31; genAssign; AOP_STK for lda hl,2(sp) ld c,(hl) inc hl ld b,(hl); _strcat.c 33; genAssign; (registers are the same); genLabel00101$:; genPointerGet ld a,(bc); genIfx or a,a jp z,00111$; _strcat.c 34; genPlus; genPlusIncr inc bc; genGoto jp 00101$; _strcat.c 36; genLabel00111$:; genAssign; (operands are equal 3); genAssign; (registers are the same); genLabel00104$:; genPointerGet; AOP_STK for lda hl,4(sp) ld e,(hl) inc hl ld d,(hl) ld a,(de); genPlus; AOP_STK for ; genPlusIncr dec hl inc (hl) jr nz,00113$ inc hl inc (hl)00113$:; genAssign (pointer) ld (bc),a; genPlus; genPlusIncr inc bc; genIfx or a,a jp nz,00104$; _strcat.c 38; genRet; AOP_STK for lda hl,2(sp) ld e,(hl) inc hl ld d,(hl); genLabel00107$:; genEndFunction ret___strcat_end: .area _CODE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -