⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _strcpy.asm

📁 很少见的源码公开的msc51和z80的c编译器。
💻 ASM
字号:
;--------------------------------------------------------; File Created by SDCC : FreeWare ANSI-C Compiler; Version 2.3.0 Thu Sep 20 10:57:48 2001;--------------------------------------------------------	.module _strcpy	;--------------------------------------------------------; Public variables in this module;--------------------------------------------------------	.globl _strcpy;--------------------------------------------------------; 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;	_strcpy.c 31;	genLabel;	genFunction;	---------------------------------; Function strcpy; ---------------------------------___strcpy_start:_strcpy:	push	ix	ld	ix,#0	add	ix,sp;	_strcpy.c 36;	genAssign;	AOP_STK for 	ld	c,4(ix)	ld	b,5(ix);	_strcpy.c 37;	genAssign;	AOP_STK for 	ld	e,6(ix)	ld	d,7(ix);	_strcpy.c 39;	genAssign;	(registers are the same);	genAssign;	(registers are the same);	genLabel00101$:;	genPointerGet	ld	a,(de);	genPlus;	genPlusIncr	inc	de;	genAssign (pointer)	ld	(bc),a;	genPlus;	genPlusIncr	inc	bc;	genIfx	or	a,a	jp	nz,00101$;	_strcpy.c 41;	genRet;	AOP_STK for 	ld	l,4(ix)	ld	h,5(ix);	genLabel00104$:;	genEndFunction	pop	ix	ret___strcpy_end:	.area _CODE

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -