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

📄 _mulsint.asm

📁 很少见的源码公开的msc51和z80的c编译器。
💻 ASM
字号:
;--------------------------------------------------------; File Created by SDCC : FreeWare ANSI-C Compiler; Version 2.3.0 Thu Sep 20 10:57:15 2001;--------------------------------------------------------	.module _mulsint	;--------------------------------------------------------; Public variables in this module;--------------------------------------------------------	.globl __mulsint_PARM_2	.globl __mulsint;--------------------------------------------------------; special function registers;--------------------------------------------------------;--------------------------------------------------------; special function bits ;--------------------------------------------------------;--------------------------------------------------------; internal ram data;--------------------------------------------------------	.area DSEG    (DATA)__mulsint_PARM_2::	.ds 2;--------------------------------------------------------; 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);--------------------------------------------------------; 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 '_mulsint';------------------------------------------------------------;b                         Allocated to in memory with name '__mulsint_PARM_2';a                         Allocated to registers r2 r3 ;r                         Allocated to registers r2 r3 ;	_mulsint.c 26;	-----------------------------------------;	 function _mulsint;	-----------------------------------------__mulsint:	ar2 = 0x02	ar3 = 0x03	ar4 = 0x04	ar5 = 0x05	ar6 = 0x06	ar7 = 0x07	ar0 = 0x00	ar1 = 0x01;	_mulsint.c 0	mov	r2,dpl	mov	r3,dph;	_mulsint.c 30	mov	a,r3	rlc	a	clr	a	rlc	a; Peephole 105   removed redundant mov	mov  r4,a; Peephole 110   removed ljmp by inverse jump logic	jz  00106$00113$:	clr	c	clr	a	subb	a,r2	mov	r5,a	clr	a	subb	a,r3	mov	r6,a; Peephole 132   changed ljmp to sjmp	sjmp 00107$00106$:	mov	ar5,r2	mov	ar6,r300107$:	mov	ar2,r5	mov	ar3,r6;	_mulsint.c 31	mov	a,(__mulsint_PARM_2 + 1)	rlc	a	clr	a	rlc	a; Peephole 105   removed redundant mov	mov  r5,a; Peephole 110   removed ljmp by inverse jump logic	jz  00108$00114$:	clr	c	clr	a	subb	a,__mulsint_PARM_2	mov	r6,a	clr	a	subb	a,(__mulsint_PARM_2 + 1)	mov	r7,a; Peephole 132   changed ljmp to sjmp	sjmp 00109$00108$:	mov	r6,__mulsint_PARM_2	mov	r7,(__mulsint_PARM_2 + 1)00109$:	mov	__muluint_PARM_2,r6	mov	(__muluint_PARM_2 + 1),r7	mov	dpl,r2	mov	dph,r3	push	ar4	push	ar5	lcall	__muluint	mov	r2,dpl	mov	r3,dph	pop	ar5	pop	ar4;	_mulsint.c 33	mov	a,r5	xrl	a,ar4; Peephole 110   removed ljmp by inverse jump logic	jz  00102$00115$:;	_mulsint.c 34	clr	c	clr	a	subb	a,r2	mov	dpl,a	clr	a	subb	a,r3	mov	dph,a; Peephole 132   changed ljmp to sjmp	sjmp 00104$00102$:;	_mulsint.c 36	mov	dpl,r2	mov	dph,r300104$:	ret	.area CSEG    (CODE)

⌨️ 快捷键说明

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