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

📄 asm021.s

📁 十七种模拟器源代码 非常有用的作课程设计不可缺少的
💻 S
📖 第 1 页 / 共 5 页
字号:
	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_1_1024	movswl	%di,%ediL_1_1024:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_1_1025	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_1_1026	movl	%ebp,%ebxL_1_1026:	testl	$64,%esi	je	L_1_1027	movl	%ebp,%ediL_1_1027:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_1_1028	movl	20-16(%esp),%ecx/APP	xorl	%eax,%eax	movw	0x2164334A(%ecx),%axRR0_1042:	rolw	$8,%ax/NO_APP	movl	24-16(%esp),%ecx	cwtl	addl	$8,%ecx	addl	%eax,%ebx	movl	%ecx,GLOBL(regs)+88L_1_1028:	cmpl	$48,%edx	jne	L_1_1031	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1043:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_1_1031:	movl	%esi,%ecx	andl	$3,%ecx	movl	%ecx,16-16(%esp)	cmpl	$2,%ecx	jne	L_1_1034	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_1044:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_1_1034:	cmpl	$3,16-16(%esp)	jne	L_1_1037	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1045:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_1_1037:	andl	$4,%esi	jne	L_1_1040	addl	%edi,%ebxL_1_1040:	cmpl	$0,16-16(%esp)	je	L_1_1041	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_1_1041:	testl	%esi,%esi	je	L_1_1044	addl	%edi,%ebxL_1_1044:	leal	(%ebp,%ebx),%eax	jmp	L_1_1045	.align	2,0x90L_1_1025:	movl	%esi,%ecx	movsbl	%cl,%eax	addl	%edx,%eax	addl	%edi,%eaxL_1_1045:	movl	%eax,%edx	andl	$65535,%eax	shrl	$14,%edx	movl	%eax,16-16(%esp)	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%ecx,%ecx	movw	(%eax),%cx	rolw	$8,%cx/NO_APP	movl	%ecx,%eax/APP	addw	30-16(%esp),%ax	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	andl	$65535,%eax	movl	16-16(%esp),%ecx/APP	rolw	$8,%ax/NO_APP	addl	GLOBL(W24)(%edx),%ecx	movw	%ax,(%ecx)	addl	$16,%esp	popl	%eax	decl	%eax	jl	JJ_1011	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1046:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1011:	retFUNC(op_6b0)	subl	$16,%esp	andl	$7,%eax	movl	GLOBL(regs)+88,%ebp	addl	$8,%eax	movl	0x2164334A+2(%ebp),%ecxRR2_1010:/APP	bswapl	%ecx/NO_APP	leal	6(%ebp),%edx	movl	%ecx,28-16(%esp)	movl	%edx,GLOBL(regs)+88	movl	GLOBL(regs)(,%eax,4),%eax	leal	8(%ebp),%ecx	movl	%eax,24-16(%esp)/APP	xorl	%esi,%esi	movw	0x2164334A(%edx),%siRR0_1047:	rolw	$8,%si/NO_APP	movl	%eax,%ebx	movl	%esi,%eax	movl	%ecx,20-16(%esp)	shrl	$10,%eax	movl	%ecx,GLOBL(regs)+88	andl	$60,%eax	movl	GLOBL(regs)(%eax),%edi	testl	$2048,%esi	jne	L_1_1152	movswl	%di,%ediL_1_1152:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_1_1153	movl	$0,16-16(%esp)	movl	%esi,%ecx	testb	%cl,%cl	jge	L_1_1154	movl	16-16(%esp),%ebxL_1_1154:	testl	$64,%esi	je	L_1_1155	movl	16-16(%esp),%ediL_1_1155:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_1_1156	movl	20-16(%esp),%ecx/APP	xorl	%eax,%eax	movw	0x2164334A(%ecx),%axRR0_1048:	rolw	$8,%ax/NO_APP	addl	$10,%ebp	cwtl	movl	%ebp,GLOBL(regs)+88	addl	%eax,%ebxL_1_1156:	cmpl	$48,%edx	jne	L_1_1159	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1049:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_1_1159:	movl	%esi,%ebp	andl	$3,%ebp	cmpl	$2,%ebp	jne	L_1_1162	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_1050:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%edx	movl	%eax,GLOBL(regs)+88	movl	%edx,16-16(%esp)L_1_1162:	cmpl	$3,%ebp	jne	L_1_1165	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1051:	addl	$4,%eax/APP	bswapl	%edx/NO_APP	movl	%eax,GLOBL(regs)+88	movl	%edx,16-16(%esp)L_1_1165:	andl	$4,%esi	jne	L_1_1168	addl	%edi,%ebxL_1_1168:	testl	%ebp,%ebp	je	L_1_1169	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_1_1169:	testl	%esi,%esi	je	L_1_1172	addl	%edi,%ebxL_1_1172:	movl	16-16(%esp),%ecx	leal	(%ecx,%ebx),%eax	jmp	L_1_1173	.align	2,0x90L_1_1153:	movl	%esi,%ecx	movsbl	%cl,%eax	addl	24-16(%esp),%eax	addl	%edi,%eaxL_1_1173:	movl	%eax,%ecx	shrl	$14,%ecx	movl	%eax,%edx	andl	$1020,%ecx	andl	$65535,%edx	movl	GLOBL(R24)(%ecx),%eax	addl	%edx,%eax	movl	(%eax),%eax/APP	bswapl	%eax	addl	28-16(%esp),%eax	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	addl	GLOBL(W24)(%ecx),%edx/APP	bswapl	%eax/NO_APP	movl	%eax,(%edx)	addl	$16,%esp	popl	%eax	decl	%eax	jl	JJ_1012	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1052:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1012:	retFUNC(op_830)	subl	$16,%esp	movl	%eax,%edx	movl	GLOBL(regs)+88,%ecx	andl	$7,%edx	movl	%ecx,24-16(%esp)/APP	xorl	%eax,%eax	movw	0x2164334A+2(%ecx),%axRR2_1011:	rolw	$8,%ax/NO_APP	movw	%ax,28-16(%esp)	movl	%ecx,%eax	addl	$8,%edx	addl	$4,%eax	addl	$6,%ecx	movl	%eax,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%eax),%siRR0_1053:	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_1_1292	movswl	%di,%ediL_1_1292:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_1_1293	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_1_1294	movl	%ebp,%ebxL_1_1294:	testl	$64,%esi	je	L_1_1295	movl	%ebp,%ediL_1_1295:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_1_1296	movl	20-16(%esp),%ecx/APP	xorl	%eax,%eax	movw	0x2164334A(%ecx),%axRR0_1054:	rolw	$8,%ax/NO_APP	movl	24-16(%esp),%ecx	cwtl	addl	$8,%ecx	addl	%eax,%ebx	movl	%ecx,GLOBL(regs)+88L_1_1296:	cmpl	$48,%edx	jne	L_1_1299	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1055:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_1_1299:	movl	%esi,%ecx	andl	$3,%ecx	movl	%ecx,16-16(%esp)	cmpl	$2,%ecx	jne	L_1_1302	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_1056:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_1_1302:	cmpl	$3,16-16(%esp)	jne	L_1_1305	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1057:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_1_1305:	andl	$4,%esi	jne	L_1_1308	addl	%edi,%ebxL_1_1308:	cmpl	$0,16-16(%esp)	je	L_1_1309	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_1_1309:	testl	%esi,%esi	je	L_1_1312	addl	%edi,%ebxL_1_1312:	leal	(%ebp,%ebx),%edx	jmp	L_1_1313	.align	2,0x90L_1_1293:	movl	%esi,%ecx	movsbl	%cl,%eax	addl	%edx,%eax	leal	(%edi,%eax),%edxL_1_1313:	movl	%edx,%eax	shrl	$14,%eax	andl	$65535,%edx	andl	$1020,%eax	movl	28-16(%esp),%ecx	movl	GLOBL(R24)(%eax),%eax	andl	$7,%ecx	movsbl	(%edx,%eax),%eax	sarl	%cl,%eax	xorb	$1,%al	movb	%al,%dl	andb	$1,%dl	movb	regflags,%al	salb	$6,%dl	andb	$191,%al	orb	%dl,%al	addl	$16,%esp	movb	%al,regflags	popl	%eax	decl	%eax	jl	JJ_1013	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1058:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1013:	retFUNC(op_83b)	subl	$12,%esp	movl	GLOBL(regs)+88,%ebp/APP	xorl	%eax,%eax	movw	0x2164334A+2(%ebp),%axRR2_1012:	rolw	$8,%ax/NO_APP	movw	%ax,24-16(%esp)	leal	4(%ebp),%edx	leal	6(%ebp),%ecx	movl	%edx,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%edx),%siRR0_1059:	rolw	$8,%si/NO_APP	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_1_1354	movswl	%di,%ediL_1_1354:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_1_1355	movl	$0,16-16(%esp)	movl	%esi,%ecx	testb	%cl,%cl	jge	L_1_1356	movl	16-16(%esp),%ebxL_1_1356:	testl	$64,%esi	je	L_1_1357	movl	16-16(%esp),%ediL_1_1357:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_1_1358	movl	20-16(%esp),%ecx/APP	xorl	%eax,%eax	movw	0x2164334A(%ecx),%axRR0_1060:	rolw	$8,%ax/NO_APP	addl	$8,%ebp	cwtl	movl	%ebp,GLOBL(regs)+88	addl	%eax,%ebxL_1_1358:	cmpl	$48,%edx	jne	L_1_1361	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1061:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_1_1361:	movl	%esi,%ebp	andl	$3,%ebp	cmpl	$2,%ebp	jne	L_1_1364	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_1062:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%edx	movl	%eax,GLOBL(regs)+88	movl	%edx,16-16(%esp)L_1_1364:	cmpl	$3,%ebp	jne	L_1_1367	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1063:	addl	$4,%eax/APP	bswapl	%edx/NO_APP	movl	%eax,GLOBL(regs)+88	movl	%edx,16-16(%esp)L_1_1367:	andl	$4,%esi	jne	L_1_1370	addl	%edi,%ebxL_1_1370:	testl	%ebp,%ebp	je	L_1_1371	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_1_1371:	testl	%esi,%esi	je	L_1_1374	addl	%edi,%ebxL_1_1374:	movl	16-16(%esp),%ecx	leal	(%ecx,%ebx),%edx	jmp	L_1_1375	.align	2,0x90L_1_1355:	movl	%esi,%ecx	movsbl	%cl,%eax	addl	%edx,%eax	leal	(%edi,%eax),%edxL_1_1375:	movl	%edx,%eax	shrl	$14,%eax	andl	$65535,%edx	andl	$1020,%eax	movl	24-16(%esp),%ecx	movl	GLOBL(R24)(%eax),%eax	andl	$7,%ecx	movsbl	(%edx,%eax),%eax	sarl	%cl,%eax	xorb	$1,%al	movb	%al,%dl	andb	$1,%dl	movb	regflags,%al	salb	$6,%dl	andb	$191,%al	orb	%dl,%al	addl	$12,%esp	movb	%al,regflags	popl	%eax	decl	%eax	jl	JJ_1014	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1064:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1014:	retFUNC(op_870)	subl	$16,%esp	movl	%eax,%edx	movl	GLOBL(regs)+88,%ecx	andl	$7,%edx	movl	%ecx,24-16(%esp)/APP	xorl	%eax,%eax	movw	0x2164334A+2(%ecx),%axRR2_1013:	rolw	$8,%ax/NO_APP	movw	%ax,28-16(%esp)	movl	%ecx,%eax	addl	$8,%edx	addl	$4,%eax	addl	$6,%ecx	movl	%eax,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%eax),%siRR0_1065:	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_1_1437	movswl	%di,%ediL_1_1437:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_1_1438	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_1_1439	movl	%ebp,%ebxL_1_1439:	testl	$64,%esi	je	L_1_1440	movl	%ebp,%ediL_1_1440:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_1_1441	movl	20-16(%esp),%ecx/APP	xorl	%eax,%eax	movw	0x2164334A(%ecx),%axRR0_1066:	rolw	$8,%ax/NO_APP	movl	24-16(%esp),%ecx	cwtl	addl	$8,%ecx	addl	%eax,%ebx	movl	%ecx,GLOBL(regs)+88L_1_1441:	cmpl	$48,%edx	jne	L_1_1444	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1067:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_1_1444:	movl	%esi,%ecx	andl	$3,%ecx	movl	%ecx,16-16(%esp)	cmpl	$2,%ecx	jne	L_1_1447	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_1068:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_1_1447:	cmpl	$3,16-16(%esp)	jne	L_1_1450	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1069:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_1_1450:	andl	$4,%esi	jne	L_1_1453	addl	%edi,%ebxL_1_1453:	cmpl	$0,16-16(%esp)	je	L_1_1454	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_1_1454:	testl	%esi,%esi	je	L_1_1457	addl	%edi,%ebxL_1_1457:	leal	(%ebp,%ebx),%eax	jmp	L_1_1458	.align	2,0x90L_1_1438:	movl	%esi,%ecx	movsbl	%cl,%eax	addl	%edx,%eax	addl	%edi,%eaxL_1_1458:	movl	%eax,%ebx	shrl	$14,%ebx	movl	%eax,%esi	andl	$1020,%ebx	andl	$65535,%esi	movl	GLOBL(R24)(%ebx),%eax	movl	28-16(%esp),%edi	movb	(%esi,%eax),%al	andl	$7,%edi	movb	%al,16-16(%esp)	movl	%edi,%ecx	movsbl	%al,%eax	sarl	%cl,%eax	xorb	$1,%al	movb	%al,%dl	andb	$1,%dl	movb	regflags,%al	salb	$6,%dl	andb	$191,%al	orb	%dl,%al	movb	%al,regflags	movl	$1,%eax	sall	%cl,%eax	movb	16-16(%esp),%cl	movl	GLOBL(W24)(%ebx),%edx	xorb	%al,%cl	movb	%cl,(%esi,%edx)	addl	$16,%esp	popl	%eax	decl	%eax	jl	JJ_1015	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1070:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1015:	ret

⌨️ 快捷键说明

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