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

📄 asm02b.s

📁 十七种模拟器源代码 非常有用的作课程设计不可缺少的
💻 S
📖 第 1 页 / 共 5 页
字号:
L_b_831:	cmpl	$3,%ecx	jne	L_b_834	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b036:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_b_834:	andl	$4,%esi	jne	L_b_837	addl	%edi,16-16(%esp)L_b_837:	testl	%ecx,%ecx	je	L_b_838	movl	16-16(%esp),%edx	movl	16-16(%esp),%eax	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax	movl	(%eax),%eax/APP	bswapl	%eax/NO_APP	movl	%eax,16-16(%esp)L_b_838:	testl	%esi,%esi	je	L_b_841	addl	%edi,16-16(%esp)L_b_841:	movl	16-16(%esp),%eax	addl	%ebp,%eax	jmp	L_b_842	.align	2,0x90L_b_822:	movl	%esi,%ebx	movsbl	%bl,%eax	addl	%edx,%eax	addl	%edi,%eaxL_b_842:	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/NO_APP	orl	%eax,28-16(%esp)	movl	28-16(%esp),%ebx/APP	testl	%ebx,%ebx	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	addl	GLOBL(W24)(%ecx),%edx/APP	bswapl	%ebx/NO_APP	movl	%ebx,(%edx)	addl	$16,%esp	popl	%eax	decl	%eax	jl	JJ_b012	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b037:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b012:	retFUNC(op_81d0)	subl	$8,%esp	movl	%eax,%ecx	movl	%ecx,%edx	shrl	$9,%ecx	andl	$7,%edx	movl	%ecx,%ebp	xorl	%ecx,%ecx	addl	$8,%edx	movl	GLOBL(regs)+88,%eax	movl	$GLOBL(regs),%ebx	movl	%eax,16-16(%esp)	xorl	%edi,%edi	movb	2(%ebx,%edx,4),%cl	movw	(%ebx,%edx,4),%di	addl	GLOBL(R24)(,%ecx,4),%edi/APP	xorl	%eax,%eax	movw	(%edi),%ax	rolw	$8,%ax/NO_APP	movl	%eax,20-16(%esp)	andl	$7,%ebp	xorl	%edi,%edi	movw	20-16(%esp),%di	movl	%edi,20-16(%esp)	movl	%edi,%edx	movl	(%ebx,%ebp,4),%esi	cmpw	$0,20-16(%esp)	jne	L_b_897	movl	16-16(%esp),%eax	pushl	%eax	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_898	.align	2,0x90L_b_897:	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_900	cmpl	$-32768,%edx	je	L_b_900	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_899	.align	2,0x90L_b_900:	movswl	%bx,%eax	movl	%esi,%edx	shrl	$31,%eax	shrl	$31,%edx	cmpl	%edx,%eax	je	L_b_902	negw	%bxL_b_902:/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_899:	addl	$2,GLOBL(regs)+88L_b_898:	addl	$8,%esp	popl	%eax	decl	%eax	jl	JJ_b013	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b038:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b013:	retFUNC(op_81d8)	subl	$8,%esp	movl	%eax,%edx	movl	%edx,%ecx	shrl	$9,%edx	andl	$7,%ecx	addl	$8,%ecx	sall	$2,%ecx	movl	GLOBL(regs)+88,%eax	movl	$GLOBL(regs),%esi	movl	%eax,16-16(%esp)	movl	%edx,%ebp	movl	(%ecx,%esi),%edx	xorl	%ebx,%ebx	movl	%edx,%edi	movb	2(%ecx,%esi),%bl	andl	$65535,%edi	addl	GLOBL(R24)(,%ebx,4),%edi/APP	xorl	%eax,%eax	movw	(%edi),%ax	rolw	$8,%ax/NO_APP	movl	%eax,20-16(%esp)	addl	$2,%edx	xorl	%edi,%edi	movw	20-16(%esp),%di	movl	%edi,20-16(%esp)	andl	$7,%ebp	movl	%edx,(%ecx,%esi)	movl	%edi,%ebx	movl	(%esi,%ebp,4),%esi	cmpw	$0,20-16(%esp)	jne	L_b_907	movl	16-16(%esp),%eax	pushl	%eax	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_908	.align	2,0x90L_b_907:	movswl	%bx,%ebx	movl	%esi,%eax	movl	%ebx,20-16(%esp)	cltd	idivl	%ebx	movl	%eax,%ecx	movl	%edx,%ebx	movl	%ecx,%edx	andl	$-32768,%edx	je	L_b_910	cmpl	$-32768,%edx	je	L_b_910	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_909	.align	2,0x90L_b_910:	movswl	%bx,%eax	movl	%esi,%edx	shrl	$31,%eax	shrl	$31,%edx	cmpl	%edx,%eax	je	L_b_912	negw	%bxL_b_912:/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_909:	addl	$2,GLOBL(regs)+88L_b_908:	addl	$8,%esp	popl	%eax	decl	%eax	jl	JJ_b014	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b039:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b014:	retFUNC(op_81e0)	subl	$8,%esp	movl	%eax,%edx	movl	%edx,%ebx	movl	$GLOBL(regs),%esi	andl	$7,%ebx	movl	GLOBL(regs)+88,%eax	addl	$8,%ebx	movl	%eax,16-16(%esp)	sall	$2,%ebx	movl	(%ebx,%esi),%ecx	shrl	$9,%edx	addl	$-2,%ecx	movl	%edx,%ebp	movl	%ecx,%edx	movl	%ecx,%edi	shrl	$14,%edx	andl	$65535,%edi	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%edi/APP	xorl	%eax,%eax	movw	(%edi),%ax	rolw	$8,%ax/NO_APP	movl	%eax,20-16(%esp)	xorl	%edi,%edi	movw	20-16(%esp),%di	movl	%edi,20-16(%esp)	andl	$7,%ebp	movl	%ecx,(%ebx,%esi)	movl	%edi,%edx	movl	(%esi,%ebp,4),%esi	cmpw	$0,20-16(%esp)	jne	L_b_917	movl	16-16(%esp),%eax	pushl	%eax	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_918	.align	2,0x90L_b_917:	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_920	cmpl	$-32768,%edx	je	L_b_920	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_919	.align	2,0x90L_b_920:	movswl	%bx,%eax	movl	%esi,%edx	shrl	$31,%eax	shrl	$31,%edx	cmpl	%edx,%eax	je	L_b_922	negw	%bxL_b_922:/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_919:	addl	$2,GLOBL(regs)+88L_b_918:	addl	$8,%esp	popl	%eax	decl	%eax	jl	JJ_b015	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b040:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b015:	retFUNC(op_81e8)	subl	$4,%esp	movl	%eax,%ecx	movl	%ecx,%edx	shrl	$9,%ecx	andl	$7,%edx	movl	%ecx,%ebp	movl	$GLOBL(regs),%ecx	movl	GLOBL(regs)+88,%ebx/APP	xorl	%eax,%eax	movw	0x2164334A+2(%ebx),%axRR2_b004:	rolw	$8,%ax/NO_APP	movl	%eax,16-16(%esp)	addl	$8,%edx	movswl	16-16(%esp),%edi	addl	(%ecx,%edx,4),%edi	movl	%edi,%edx	shrl	$14,%edx	andl	$65535,%edi	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%edi/APP	xorl	%eax,%eax	movw	(%edi),%ax	rolw	$8,%ax/NO_APP	movl	%eax,16-16(%esp)	andl	$7,%ebp	xorl	%edi,%edi	movw	16-16(%esp),%di	movl	%edi,16-16(%esp)	movl	%edi,%edx	movl	(%ecx,%ebp,4),%esi	cmpw	$0,16-16(%esp)	jne	L_b_928	pushl	%ebx	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_929	.align	2,0x90L_b_928:	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_931	cmpl	$-32768,%edx	je	L_b_931	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_930	.align	2,0x90L_b_931:	movswl	%bx,%eax	movl	%esi,%edx	shrl	$31,%eax	shrl	$31,%edx	cmpl	%edx,%eax	je	L_b_933	negw	%bxL_b_933:/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_930:	addl	$4,GLOBL(regs)+88L_b_929:	addl	$4,%esp	popl	%eax	decl	%eax	jl	JJ_b016	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b041:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b016:	retFUNC(op_81f0)	subl	$20,%esp	movl	%eax,%ecx	movl	%ecx,%edx	shrl	$9,%ecx	andl	$7,%edx	movl	%ecx,%eax	andl	$7,%eax	movl	GLOBL(regs)+88,%edi	addl	$8,%edx	movl	%edi,28-16(%esp)	movl	%eax,32-16(%esp)	addl	$2,%edi	movl	28-16(%esp),%eax	movl	%edi,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%edi),%siRR0_b042:	rolw	$8,%si/NO_APP	addl	$4,%eax	movl	GLOBL(regs)(,%edx,4),%edx	movl	%esi,%edi	movl	%eax,24-16(%esp)	shrl	$10,%edi	movl	%eax,GLOBL(regs)+88	andl	$60,%edi	movl	GLOBL(regs)(%edi),%eax	movl	%edx,%ebx	movl	%eax,16-16(%esp)	testl	$2048,%esi	jne	L_b_938	movswl	16-16(%esp),%edi	movl	%edi,16-16(%esp)L_b_938:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,16-16(%esp)	testl	$256,%esi	je	L_b_939	xorl	%ebp,%ebp	movl	%esi,%eax	testb	%al,%al	jge	L_b_940	movl	%ebp,%ebxL_b_940:	testl	$64,%esi	je	L_b_941	movl	%ebp,16-16(%esp)L_b_941:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_b_942	movl	24-16(%esp),%edi/APP	xorl	%eax,%eax	movw	0x2164334A(%edi),%axRR0_b043:	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_942:	cmpl	$48,%edx	jne	L_b_945	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b044:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_b_945:	movl	%esi,%ecx	andl	$3,%ecx	cmpl	$2,%ecx	jne	L_b_948	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_b045:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_b_948:	cmpl	$3,%ecx	jne	L_b_951	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b046:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_b_951:	andl	$4,%esi	jne	L_b_954	addl	16-16(%esp),%ebxL_b_954:	testl	%ecx,%ecx	je	L_b_955	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_955:	testl	%esi,%esi	je	L_b_958	addl	16-16(%esp),%ebxL_b_958:	leal	(%ebp,%ebx),%edx	jmp	L_b_959	.align	2,0x90L_b_939:	movl	%esi,%eax	movsbl	%al,%esi	movl	%esi,20-16(%esp)	addl	%esi,%edx	addl	16-16(%esp),%edxL_b_959:	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_963	movl	28-16(%esp),%edi	pushl	%edi	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_964	.align	2,0x90L_b_963:	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_966	cmpl	$-32768,%edx	je	L_b_966	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_964	.align	2,0x90L_b_966:	movswl	%bx,%eax	movl	%esi,%edx	shrl	$31,%eax	shrl	$31,%edx	cmpl	%edx,%eax	je	L_b_968	negw	%bxL_b_968:/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_964:	addl	$20,%esp	popl	%eax	decl	%eax	jl	JJ_b017	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b047:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b017:	retFUNC(op_81f8)	subl	$4,%esp	movl	%eax,%edx	movl	GLOBL(regs)+88,%ecx/APP	xorl	%eax,%eax	movw	0x2164334A+2(%ecx),%axRR2_b005:	rolw	$8,%ax/NO_APP	movl	%eax,16-16(%esp)	shrl	$9,%edx	movswl	16-16(%esp),%edi	movl	%edx,%ebp	movl	%edi,%edx	shrl	$14,%edx	andl	$65535,%edi	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%edi/APP	xorl	%eax,%eax	movw	(%edi),%ax	rolw	$8,%ax/NO_APP	movl	%eax,16-16(%esp)	andl	$7,%ebp	xorl	%edi,%edi	movw	16-16(%esp),%di	movl	%edi,16-16(%esp)	movl	%edi,%edx	movl	GLOBL(regs)(,%ebp,4),%esi	cmpw	$0,16-16(%esp)	jne	L_b_974	pushl	%ecx	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_975	.align	2,0x90L_b_974:	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_977	cmpl	$-32768,%edx	je	L_b_977	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_976	.align	2,0x90L_b_977:	movswl	%bx,%eax	movl	%esi,%edx	shrl	$31,%eax	shrl	$31,%edx	cmpl	%edx,%eax	je	L_b_979	negw	%bxL_b_979:/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_976:	addl	$4,GLOBL(regs)+88L_b_975:	addl	$4,%esp	popl	%eax	decl	%eax	jl	JJ_b018	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b048:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b018:	retFUNC(op_81f9)	subl	$4,%esp	movl	%eax,%edx	shrl	$9,%edx	movl	GLOBL(regs)+88,%ecx	movl	%edx,%ebp

⌨️ 快捷键说明

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