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

📄 asm02b.s

📁 十七种模拟器源代码 非常有用的作课程设计不可缺少的
💻 S
📖 第 1 页 / 共 5 页
字号:
	movl	0x2164334A+2(%ecx),%eaxRR2_b006:/APP	bswapl	%eax/NO_APP	movl	%eax,%edx	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%edi,%edi	movw	(%eax),%di	rolw	$8,%di/NO_APP	movl	%edi,16-16(%esp)	andl	$7,%ebp	xorl	%eax,%eax	movw	16-16(%esp),%ax	movl	%eax,16-16(%esp)	movl	%eax,%edx	movl	GLOBL(regs)(,%ebp,4),%esi	cmpw	$0,16-16(%esp)	jne	L_b_985	pushl	%ecx	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_986	.align	2,0x90L_b_985:	movswl	%dx,%edx	movl	%esi,%eax	movl	%edx,16-16(%esp)	cltd	idivl	16-16(%esp)	movl	%eax,%ecx	movl	%edx,%ebx	movl	%ecx,%edx	andl	$-32768,%edx	je	L_b_988	cmpl	$-32768,%edx	je	L_b_988	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_987	.align	2,0x90L_b_988:	movswl	%bx,%eax	movl	%esi,%edx	shrl	$31,%eax	shrl	$31,%edx	cmpl	%edx,%eax	je	L_b_990	negw	%bxL_b_990:/APP	testw	%cx,%cx	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	movl	%ecx,%edx	movl	%ebx,%eax	andl	$65535,%edx	sall	$16,%eax	orl	%eax,%edx	movl	%edx,GLOBL(regs)(,%ebp,4)L_b_987:	addl	$6,GLOBL(regs)+88L_b_986:	addl	$4,%esp	popl	%eax	decl	%eax	jl	JJ_b019	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b049:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b019:	retFUNC(op_81fa)	subl	$4,%esp	movl	%eax,%edx	movl	GLOBL(regs)+88,%ecx/APP	xorl	%eax,%eax	movw	0x2164334A+2(%ecx),%axRR2_b007:	rolw	$8,%ax/NO_APP	movl	%eax,16-16(%esp)	movswl	16-16(%esp),%edi	shrl	$9,%edx	leal	2(%edi,%ecx),%eax	movl	%edx,%ebp	movl	%eax,%edx	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%edi,%edi	movw	(%eax),%di	rolw	$8,%di/NO_APP	movl	%edi,16-16(%esp)	andl	$7,%ebp	xorl	%eax,%eax	movw	16-16(%esp),%ax	movl	%eax,16-16(%esp)	movl	%eax,%edx	movl	GLOBL(regs)(,%ebp,4),%esi	cmpw	$0,16-16(%esp)	jne	L_b_997	pushl	%ecx	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_998	.align	2,0x90L_b_997:	movswl	%dx,%edx	movl	%esi,%eax	movl	%edx,16-16(%esp)	cltd	idivl	16-16(%esp)	movl	%eax,%ecx	movl	%edx,%ebx	movl	%ecx,%edx	andl	$-32768,%edx	je	L_b_1000	cmpl	$-32768,%edx	je	L_b_1000	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_999	.align	2,0x90L_b_1000:	movswl	%bx,%eax	movl	%esi,%edx	shrl	$31,%eax	shrl	$31,%edx	cmpl	%edx,%eax	je	L_b_1002	negw	%bxL_b_1002:/APP	testw	%cx,%cx	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	movl	%ecx,%edx	movl	%ebx,%eax	andl	$65535,%edx	sall	$16,%eax	orl	%eax,%edx	movl	%edx,GLOBL(regs)(,%ebp,4)L_b_999:	addl	$4,GLOBL(regs)+88L_b_998:	addl	$4,%esp	popl	%eax	decl	%eax	jl	JJ_b020	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b050:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b020:	retFUNC(op_81fb)	subl	$20,%esp	movl	%eax,%edx	shrl	$9,%edx	movl	%edx,%eax	andl	$7,%eax	movl	GLOBL(regs)+88,%edi	movl	%eax,32-16(%esp)	movl	%edi,%edx	movl	%edi,28-16(%esp)	addl	$2,%edx	addl	$4,%edi	movl	%edx,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%edx),%siRR0_b051:	rolw	$8,%si/NO_APP	movl	%esi,%eax	movl	%edi,24-16(%esp)	shrl	$10,%eax	movl	%edi,GLOBL(regs)+88	andl	$60,%eax	movl	GLOBL(regs)(%eax),%edi	movl	%edx,%ebx	movl	%edi,16-16(%esp)	testl	$2048,%esi	jne	L_b_1008	movswl	16-16(%esp),%eax	movl	%eax,16-16(%esp)L_b_1008:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,16-16(%esp)	testl	$256,%esi	je	L_b_1009	xorl	%ebp,%ebp	movl	%esi,%eax	testb	%al,%al	jge	L_b_1010	movl	%ebp,%ebxL_b_1010:	testl	$64,%esi	je	L_b_1011	movl	%ebp,16-16(%esp)L_b_1011:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_b_1012	movl	24-16(%esp),%edi/APP	xorl	%eax,%eax	movw	0x2164334A(%edi),%axRR0_b052:	rolw	$8,%ax/NO_APP	movl	%eax,20-16(%esp)	movl	28-16(%esp),%edi	addl	$6,%edi	movswl	20-16(%esp),%eax	movl	%edi,GLOBL(regs)+88	addl	%eax,%ebxL_b_1012:	cmpl	$48,%edx	jne	L_b_1015	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b053:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_b_1015:	movl	%esi,%ecx	andl	$3,%ecx	cmpl	$2,%ecx	jne	L_b_1018	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_b054:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_b_1018:	cmpl	$3,%ecx	jne	L_b_1021	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b055:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_b_1021:	andl	$4,%esi	jne	L_b_1024	addl	16-16(%esp),%ebxL_b_1024:	testl	%ecx,%ecx	je	L_b_1025	movl	%ebx,%edx	movl	%ebx,%eax	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax	movl	(%eax),%ebx/APP	bswapl	%ebx/NO_APPL_b_1025:	testl	%esi,%esi	je	L_b_1028	addl	16-16(%esp),%ebxL_b_1028:	leal	(%ebp,%ebx),%edx	jmp	L_b_1029	.align	2,0x90L_b_1009:	movl	%esi,%eax	movsbl	%al,%esi	movl	%esi,20-16(%esp)	addl	%esi,%edx	addl	16-16(%esp),%edxL_b_1029:	movl	%edx,%edi	shrl	$14,%edi	andl	$65535,%edx	andl	$1020,%edi	addl	GLOBL(R24)(%edi),%edx/APP	xorl	%eax,%eax	movw	(%edx),%ax	rolw	$8,%ax/NO_APP	movl	%eax,20-16(%esp)	xorl	%edi,%edi	movw	20-16(%esp),%di	movl	32-16(%esp),%eax	movl	%edi,20-16(%esp)	movl	%edi,%edx	movl	GLOBL(regs)(,%eax,4),%esi	cmpw	$0,20-16(%esp)	jne	L_b_1033	movl	28-16(%esp),%edi	pushl	%edi	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_1034	.align	2,0x90L_b_1033:	movswl	%dx,%edx	movl	%esi,%eax	movl	%edx,20-16(%esp)	cltd	idivl	20-16(%esp)	movl	%eax,%ecx	movl	%edx,%ebx	movl	%ecx,%edx	andl	$-32768,%edx	je	L_b_1036	cmpl	$-32768,%edx	je	L_b_1036	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_1034	.align	2,0x90L_b_1036:	movswl	%bx,%eax	movl	%esi,%edx	shrl	$31,%eax	shrl	$31,%edx	cmpl	%edx,%eax	je	L_b_1038	negw	%bxL_b_1038:/APP	testw	%cx,%cx	pushfl	popl	%edi	movl	%edi,regflags/NO_APP	movl	%ecx,%edx	movl	%ebx,%eax	andl	$65535,%edx	sall	$16,%eax	orl	%eax,%edx	movl	32-16(%esp),%edi	movl	%edx,GLOBL(regs)(,%edi,4)L_b_1034:	addl	$20,%esp	popl	%eax	decl	%eax	jl	JJ_b021	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b056:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b021:	retFUNC(op_9030)	subl	$20,%esp	movl	%eax,%edx	shrl	$9,%eax	andl	$7,%eax	andl	$7,%edx	movl	%eax,32-16(%esp)	movl	GLOBL(regs)+88,%ecx	addl	$8,%edx	movl	%ecx,%eax	movl	%ecx,28-16(%esp)	addl	$2,%eax	addl	$4,%ecx	movl	%eax,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%eax),%siRR0_b057:	rolw	$8,%si/NO_APP	movl	GLOBL(regs)(,%edx,4),%edx	movl	%esi,%eax	movl	%ecx,24-16(%esp)	shrl	$10,%eax	movl	%ecx,GLOBL(regs)+88	andl	$60,%eax	movl	GLOBL(regs)(%eax),%eax	movl	%edx,%ebx	movl	%eax,16-16(%esp)	testl	$2048,%esi	jne	L_b_1090	movswl	16-16(%esp),%edi	movl	%edi,16-16(%esp)L_b_1090:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,16-16(%esp)	testl	$256,%esi	je	L_b_1091	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_b_1092	movl	%ebp,%ebxL_b_1092:	testl	$64,%esi	je	L_b_1093	movl	%ebp,16-16(%esp)L_b_1093:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_b_1094	movl	24-16(%esp),%edi/APP	xorl	%eax,%eax	movw	0x2164334A(%edi),%axRR0_b058:	rolw	$8,%ax/NO_APP	movl	28-16(%esp),%ecx	cwtl	addl	$6,%ecx	addl	%eax,%ebx	movl	%ecx,GLOBL(regs)+88L_b_1094:	cmpl	$48,%edx	jne	L_b_1097	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b059:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_b_1097:	movl	%esi,%edi	andl	$3,%edi	movl	%edi,20-16(%esp)	cmpl	$2,%edi	jne	L_b_1100	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_b060:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_b_1100:	cmpl	$3,20-16(%esp)	jne	L_b_1103	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b061:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_b_1103:	andl	$4,%esi	jne	L_b_1106	addl	16-16(%esp),%ebxL_b_1106:	cmpl	$0,20-16(%esp)	je	L_b_1107	movl	%ebx,%edx	movl	%ebx,%eax	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax	movl	(%eax),%ebx/APP	bswapl	%ebx/NO_APPL_b_1107:	testl	%esi,%esi	je	L_b_1110	addl	16-16(%esp),%ebxL_b_1110:	leal	(%ebp,%ebx),%edx	jmp	L_b_1111	.align	2,0x90L_b_1091:	movl	%esi,%ecx	movsbl	%cl,%eax	movl	16-16(%esp),%edi	addl	%edx,%eax	leal	(%edi,%eax),%edxL_b_1111:	movl	%edx,%eax	shrl	$14,%eax	movl	%edx,%ebx	andl	$1020,%eax	movl	32-16(%esp),%ecx	movl	GLOBL(R24)(%eax),%eax	andl	$65535,%ebx	movl	%eax,20-16(%esp)	leal	0(,%ecx,4),%edx	movl	$GLOBL(regs),%eax	movl	20-16(%esp),%edi	movb	(%edx,%eax),%cl/APP	subb	(%ebx,%edi),%cl	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	movl	%ecx,20-16(%esp)	movb	20-16(%esp),%cl	movb	%cl,(%edx,%eax)	addl	$20,%esp	popl	%eax	decl	%eax	jl	JJ_b022	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b062:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b022:	retFUNC(op_903b)	subl	$20,%esp	shrl	$9,%eax	andl	$7,%eax	movl	GLOBL(regs)+88,%ecx	movl	%eax,32-16(%esp)	movl	%ecx,%edx	movl	%ecx,28-16(%esp)	addl	$2,%edx	addl	$4,%ecx	movl	%edx,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%edx),%siRR0_b063:	rolw	$8,%si/NO_APP	movl	%esi,%eax	movl	%ecx,24-16(%esp)	shrl	$10,%eax	movl	%ecx,GLOBL(regs)+88	andl	$60,%eax	movl	GLOBL(regs)(%eax),%eax	movl	%edx,%ebx	movl	%eax,16-16(%esp)	testl	$2048,%esi	jne	L_b_1145	movswl	16-16(%esp),%edi	movl	%edi,16-16(%esp)L_b_1145:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,16-16(%esp)	testl	$256,%esi	je	L_b_1146	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_b_1147	movl	%ebp,%ebxL_b_1147:	testl	$64,%esi	je	L_b_1148	movl	%ebp,16-16(%esp)L_b_1148:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_b_1149	movl	24-16(%esp),%edi/APP	xorl	%eax,%eax	movw	0x2164334A(%edi),%axRR0_b064:	rolw	$8,%ax/NO_APP	movl	28-16(%esp),%ecx	cwtl	addl	$6,%ecx	addl	%eax,%ebx	movl	%ecx,GLOBL(regs)+88L_b_1149:	cmpl	$48,%edx	jne	L_b_1152	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b065:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_b_1152:	movl	%esi,%edi	andl	$3,%edi	movl	%edi,20-16(%esp)	cmpl	$2,%edi	jne	L_b_1155	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_b066:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_b_1155:	cmpl	$3,20-16(%esp)	jne	L_b_1158	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b067:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_b_1158:	andl	$4,%esi	jne	L_b_1161	addl	16-16(%esp),%ebxL_b_1161:	cmpl	$0,20-16(%esp)	je	L_b_1162	movl	%ebx,%edx	movl	%ebx,%eax	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax	movl	(%eax),%ebx/APP	bswapl	%ebx/NO_APPL_b_1162:	testl	%esi,%esi	je	L_b_1165	addl	16-16(%esp),%ebxL_b_1165:	leal	(%ebp,%ebx),%edx	jmp	L_b_1166	.align	2,0x90L_b_1146:	movl	%esi,%ecx	movsbl	%cl,%eax	movl	16-16(%esp),%edi	addl	%edx,%eax	leal	(%edi,%eax),%edxL_b_1166:	movl	%edx,%eax	shrl	$14,%eax	movl	%edx,%ebx	andl	$1020,%eax	movl	32-16(%esp),%ecx	movl	GLOBL(R24)(%eax),%eax	andl	$65535,%ebx	movl	%eax,20-16(%esp)	leal	0(,%ecx,4),%edx	movl	$GLOBL(regs),%eax	movl	20-16(%esp),%edi	movb	(%edx,%eax),%cl/APP	subb	(%ebx,%edi),%cl	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	movl	%ecx,20-16(%esp)	movb	20-16(%esp),%cl	movb	%cl,(%edx,%eax)	addl	$20,%esp	popl	%eax	decl	%eax	jl	JJ_b023	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b068:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b023:	retFUNC(op_9070)	subl	$16,%esp	movl	%eax,%edx	shrl	$9,%eax	andl	$7,%eax	andl	$7,%edx	movl	%eax,28-16(%esp)	movl	GLOBL(regs)+88,%ecx	addl	$8,%edx	movl	%ecx,%eax	movl	%ecx,24-16(%esp)	addl	$2,%eax	addl	$4,%ecx	movl	%eax,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%eax),%siRR0_b069:	rolw	$8,%si/NO_APP	movl	GLOBL(regs)(,%edx,4),%edx	movl	%esi,%eax	movl	%ecx,20-16(%esp)	shrl	$10,%eax	movl	%ecx,GLOBL(regs)+88	andl	$60,%eax	movl	%edx,%ebx	movl	GLOBL(regs)(%eax),%edi	testl	$2048,%esi	jne	L_b_1219	movswl	%di,%ediL_b_1219:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_b_1220	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_b_1221	movl	%ebp,%ebxL_b_1221:	testl	$64,%esi	je	L_b_1222	movl	%ebp,%ediL_b_1222:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_b_1223	movl	20-16(%esp),%ecx/APP	xorl	%eax,%eax	movw	0x2164334A(%ecx),%axRR0_b070:	rolw	$8,%ax/NO_APP	movl	24-16(%esp),%ecx

⌨️ 快捷键说明

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