_uchar2fs.asm

来自「很少见的源码公开的msc51和z80的c编译器。」· 汇编 代码 · 共 95 行

ASM
95
字号
;--------------------------------------------------------; File Created by SDCC : FreeWare ANSI-C Compiler; Version 2.3.0 Thu Sep 20 10:57:28 2001;--------------------------------------------------------	.module _uchar2fs	;--------------------------------------------------------; Public variables in this module;--------------------------------------------------------	.globl ___uchar2fs;--------------------------------------------------------; special function registers;--------------------------------------------------------;--------------------------------------------------------; special function bits ;--------------------------------------------------------;--------------------------------------------------------; internal ram data;--------------------------------------------------------	.area DSEG    (DATA);--------------------------------------------------------; overlayable items in internal ram ;--------------------------------------------------------	.area OSEG    (OVR,DATA);--------------------------------------------------------; indirectly addressable internal ram data;--------------------------------------------------------	.area ISEG    (DATA);--------------------------------------------------------; bit data;--------------------------------------------------------	.area BSEG    (BIT);--------------------------------------------------------; external ram data;--------------------------------------------------------	.area XSEG    (XDATA)___uchar2fs_uc_1_1::	.ds 1;--------------------------------------------------------; global & static initialisations;--------------------------------------------------------	.area GSINIT  (CODE)	.area GSFINAL (CODE)	.area GSINIT  (CODE);--------------------------------------------------------; Home;--------------------------------------------------------	.area HOME	 (CODE)	.area CSEG    (CODE);--------------------------------------------------------; code;--------------------------------------------------------	.area CSEG    (CODE);------------------------------------------------------------;Allocation info for local variables in function '__uchar2fs';------------------------------------------------------------;uc                        Allocated to in memory with name '___uchar2fs_uc_1_1';ul                        Allocated to in memory with name '___uchar2fs_ul_1_1';	_uchar2fs.c 2;	-----------------------------------------;	 function __uchar2fs;	-----------------------------------------___uchar2fs:	ar2 = 0x02	ar3 = 0x03	ar4 = 0x04	ar5 = 0x05	ar6 = 0x06	ar7 = 0x07	ar0 = 0x00	ar1 = 0x01;	_uchar2fs.c 4	push	dpl	mov	dptr,#___uchar2fs_uc_1_1	pop	acc	movx	@dptr,a;	_uchar2fs.c 3	mov	dptr,#___uchar2fs_uc_1_1	movx	a,@dptr	mov	r2,a	mov	r3,#0x00	mov	r4,#0x00	mov	r5,#0x00;	_uchar2fs.c 4	mov	dpl,r2	mov	dph,r3	mov	b,r4	mov	a,r5	lcall	___ulong2fs; Peephole 156   removed misc moves via dph, dpl, b, a before return00101$:	ret	.area CSEG    (CODE)

⌨️ 快捷键说明

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