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

📄 asm02b.s

📁 十七种模拟器源代码 非常有用的作课程设计不可缺少的
💻 S
📖 第 1 页 / 共 5 页
字号:
FUNC(op_80d8)	subl	$4,%esp	movl	%eax,%ebx	movl	%ebx,%ecx	movl	$GLOBL(regs),%edi	andl	$7,%ecx	movl	%ebx,%esi	addl	$8,%ecx	shrl	$7,%esi	sall	$2,%ecx	xorl	%ebx,%ebx	movl	(%ecx,%edi),%eax	movb	2(%ecx,%edi),%bl	andl	$65535,%eax	addl	GLOBL(R24)(,%ebx,4),%eax/APP	xorl	%edx,%edx	movw	(%eax),%dx	rolw	$8,%dx/NO_APP	movl	%edx,16-16(%esp)	xorl	%eax,%eax	movw	16-16(%esp),%ax	movl	%eax,16-16(%esp)	movl	(%ecx,%edi),%edx	movl	GLOBL(regs)+88,%ebp	addl	$2,%edx	andl	$28,%esi	movl	%edx,(%ecx,%edi)	movl	%eax,%ebx	movl	(%esi,%edi),%ecx	cmpw	$0,16-16(%esp)	jne	L_b_375	pushl	%ebp	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_376	.align	2,0x90L_b_375:	xorl	%eax,%eax	movw	%bx,%ax	movl	%eax,16-16(%esp)	movl	%ecx,%eax	xorl	%edx,%edx	divl	16-16(%esp)	movl	%eax,%ebx	movl	%edx,%ecx	cmpl	$65535,%ebx	jbe	L_b_378	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_377	.align	2,0x90L_b_378:/APP	testw	%bx,%bx	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	movl	%ebx,%edx	movl	%ecx,%eax	andl	$65535,%edx	sall	$16,%eax	orl	%eax,%edx	movl	%edx,(%esi,%edi)L_b_377:	addl	$2,GLOBL(regs)+88L_b_376:	addl	$4,%esp	popl	%eax	decl	%eax	jl	JJ_b000	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b000:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b000:	retFUNC(op_80e0)	subl	$12,%esp	movl	%eax,%ebx	movl	$GLOBL(regs),%ebp	movl	%ebx,%ecx	movl	GLOBL(regs)+88,%eax	andl	$7,%ecx	movl	%ebx,%esi	addl	$8,%ecx	movl	%eax,24-16(%esp)	sall	$2,%ecx	shrl	$7,%esi	movl	(%ecx,%ebp),%ebx	addl	$-2,%ebx	movl	%ebx,%edx	movl	%ebx,%eax	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%edx,%edx	movw	(%eax),%dx	rolw	$8,%dx/NO_APP	movl	%edx,20-16(%esp)	xorl	%eax,%eax	movw	20-16(%esp),%ax	movl	%eax,20-16(%esp)	movl	%ebx,(%ecx,%ebp)	movl	%esi,%ebx	andl	$28,%ebx	movl	%eax,%edi	movl	(%ebx,%ebp),%ecx	cmpw	$0,20-16(%esp)	jne	L_b_384	movl	24-16(%esp),%edx	pushl	%edx	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_385	.align	2,0x90L_b_384:	xorl	%eax,%eax	movw	%di,%ax	movl	%eax,20-16(%esp)	movl	%ecx,%eax	xorl	%edx,%edx	divl	20-16(%esp)	movl	%eax,%edi	movl	%edx,%ecx	cmpl	$65535,%edi	jbe	L_b_387	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_386	.align	2,0x90L_b_387:/APP	testw	%di,%di	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	movl	%edi,%edx	movl	%ecx,%eax	andl	$65535,%edx	sall	$16,%eax	orl	%eax,%edx	movl	%edx,(%ebx,%ebp)L_b_386:	addl	$2,GLOBL(regs)+88L_b_385:	addl	$12,%esp	popl	%eax	decl	%eax	jl	JJ_b001	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b001:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b001:	retFUNC(op_80e8)	subl	$8,%esp	movl	%eax,%ecx	andl	$7,%eax	addl	$8,%eax	movl	GLOBL(regs)+88,%edi/APP	xorl	%edx,%edx	movw	0x2164334A+2(%edi),%dxRR2_b000:	rolw	$8,%dx/NO_APP	movl	%edx,20-16(%esp)	movl	%eax,16-16(%esp)	movl	$GLOBL(regs),%esi	movswl	20-16(%esp),%eax	movl	16-16(%esp),%edx	addl	(%esi,%edx,4),%eax	movl	%eax,20-16(%esp)	shrl	$14,%eax	andl	$1020,%eax	movl	%eax,16-16(%esp)	movl	20-16(%esp),%eax	movl	16-16(%esp),%edx	andl	$65535,%eax	shrl	$7,%ecx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%edx,%edx	movw	(%eax),%dx	rolw	$8,%dx/NO_APP	movl	%edx,20-16(%esp)	andl	$28,%ecx	xorl	%eax,%eax	movw	20-16(%esp),%ax	movl	%eax,20-16(%esp)	movl	%eax,%ebx	movl	(%ecx,%esi),%ebp	cmpw	$0,20-16(%esp)	jne	L_b_394	pushl	%edi	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_395	.align	2,0x90L_b_394:	xorl	%edx,%edx	movw	%bx,%dx	movl	%ebp,%eax	movl	%edx,20-16(%esp)	xorl	%edx,%edx	divl	20-16(%esp)	movl	%eax,%edi	movl	%edx,%ebx	cmpl	$65535,%edi	jbe	L_b_397	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_396	.align	2,0x90L_b_397:/APP	testw	%di,%di	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	movl	%edi,%edx	movl	%ebx,%eax	andl	$65535,%edx	sall	$16,%eax	orl	%eax,%edx	movl	%edx,(%ecx,%esi)L_b_396:	addl	$4,GLOBL(regs)+88L_b_395:	addl	$8,%esp	popl	%eax	decl	%eax	jl	JJ_b002	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b002:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b002:	retFUNC(op_80f0)	subl	$20,%esp	movl	%eax,%ecx	shrl	$9,%ecx	andl	$7,%eax	movl	%ecx,%edx	movl	%eax,16-16(%esp)	andl	$7,%edx	movl	GLOBL(regs)+88,%eax	movl	%edx,32-16(%esp)	movl	%eax,28-16(%esp)	movl	16-16(%esp),%edx	addl	$2,%eax	addl	$8,%edx	movl	%eax,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%eax),%siRR0_b003:	rolw	$8,%si/NO_APP	movl	GLOBL(regs)(,%edx,4),%ebp	movl	28-16(%esp),%eax	movl	%esi,%edx	addl	$4,%eax	shrl	$10,%edx	movl	%eax,24-16(%esp)	movl	%eax,GLOBL(regs)+88	andl	$60,%edx	movl	%ebp,%ebx	movl	GLOBL(regs)(%edx),%edi	testl	$2048,%esi	jne	L_b_403	movswl	%di,%ediL_b_403:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_b_404	xorl	%ebp,%ebp	movl	%esi,%eax	testb	%al,%al	jge	L_b_405	movl	%ebp,%ebxL_b_405:	testl	$64,%esi	je	L_b_406	movl	%ebp,%ediL_b_406:	movl	%esi,%ecx	andl	$48,%ecx	cmpl	$32,%ecx	jne	L_b_407	movl	24-16(%esp),%edx/APP	xorl	%eax,%eax	movw	0x2164334A(%edx),%axRR0_b004:	rolw	$8,%ax/NO_APP	movl	%eax,20-16(%esp)	movl	28-16(%esp),%edx	addl	$6,%edx	movswl	20-16(%esp),%eax	movl	%edx,GLOBL(regs)+88	addl	%eax,%ebxL_b_407:	cmpl	$48,%ecx	jne	L_b_410	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b005:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_b_410:	movl	%esi,%ecx	andl	$3,%ecx	cmpl	$2,%ecx	jne	L_b_413	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_b006:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_b_413:	cmpl	$3,%ecx	jne	L_b_416	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b007:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_b_416:	andl	$4,%esi	jne	L_b_419	addl	%edi,%ebxL_b_419:	testl	%ecx,%ecx	je	L_b_420	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_420:	testl	%esi,%esi	je	L_b_423	addl	%edi,%ebxL_b_423:	leal	(%ebp,%ebx),%ecx	jmp	L_b_424	.align	2,0x90L_b_404:	movl	%esi,%edx	movsbl	%dl,%esi	movl	%esi,20-16(%esp)	leal	(%esi,%ebp),%eax	movl	%eax,%ecx	addl	%edi,%ecxL_b_424:	movl	%ecx,%edx	andl	$65535,%ecx	shrl	$14,%edx	movl	%ecx,%eax	andl	$1020,%edx	movl	$GLOBL(regs),%esi	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%edx,%edx	movw	(%eax),%dx	rolw	$8,%dx/NO_APP	movl	%edx,20-16(%esp)	xorl	%eax,%eax	movw	20-16(%esp),%ax	movl	32-16(%esp),%edx	movl	%eax,20-16(%esp)	leal	0(,%edx,4),%ebx	movl	%eax,%ecx	movl	(%ebx,%esi),%edi	cmpw	$0,20-16(%esp)	jne	L_b_428	movl	28-16(%esp),%eax	pushl	%eax	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_429	.align	2,0x90L_b_428:	xorl	%edx,%edx	movw	%cx,%dx	movl	%edi,%eax	movl	%edx,20-16(%esp)	xorl	%edx,%edx	divl	20-16(%esp)	movl	%eax,%edi	movl	%edx,%ecx	cmpl	$65535,%edi	jbe	L_b_431	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_429	.align	2,0x90L_b_431:/APP	testw	%di,%di	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	movl	%edi,%edx	movl	%ecx,%eax	andl	$65535,%edx	sall	$16,%eax	orl	%eax,%edx	movl	%edx,(%ebx,%esi)L_b_429:	addl	$20,%esp	popl	%eax	decl	%eax	jl	JJ_b003	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b008:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b003:	retFUNC(op_80fa)	subl	$8,%esp	movl	%eax,%ecx	movl	GLOBL(regs)+88,%ebx/APP	xorl	%eax,%eax	movw	0x2164334A+2(%ebx),%axRR2_b001:	rolw	$8,%ax/NO_APP	movl	%eax,20-16(%esp)	movswl	20-16(%esp),%edx	leal	2(%edx,%ebx),%eax	movl	%eax,20-16(%esp)	shrl	$7,%ecx	shrl	$14,%eax	movl	20-16(%esp),%edx	andl	$1020,%eax	andl	$65535,%edx	andl	$28,%ecx	addl	GLOBL(R24)(%eax),%edx/APP	xorl	%eax,%eax	movw	(%edx),%ax	rolw	$8,%ax/NO_APP	movl	%eax,20-16(%esp)	movl	$GLOBL(regs),%edi	xorl	%edx,%edx	movw	20-16(%esp),%dx	movl	%edx,20-16(%esp)	movl	%edx,%esi	movl	(%ecx,%edi),%ebp	cmpw	$0,20-16(%esp)	jne	L_b_479	pushl	%ebx	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_480	.align	2,0x90L_b_479:	xorl	%eax,%eax	movw	%si,%ax	movl	%eax,20-16(%esp)	movl	%ebp,%eax	xorl	%edx,%edx	divl	20-16(%esp)	movl	%eax,%esi	movl	%edx,%ebx	cmpl	$65535,%esi	jbe	L_b_482	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_481	.align	2,0x90L_b_482:/APP	testw	%si,%si	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	movl	%esi,%edx	movl	%ebx,%eax	andl	$65535,%edx	sall	$16,%eax	orl	%eax,%edx	movl	%edx,(%ecx,%edi)L_b_481:	addl	$4,GLOBL(regs)+88L_b_480:	addl	$8,%esp	popl	%eax	decl	%eax	jl	JJ_b004	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b009:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b004:	retFUNC(op_80fb)	subl	$20,%esp	movl	%eax,%ecx	shrl	$9,%ecx	movl	%ecx,%eax	andl	$7,%eax	movl	GLOBL(regs)+88,%edx	movl	%eax,32-16(%esp)	movl	%edx,%ebp	movl	%edx,28-16(%esp)	addl	$2,%ebp	addl	$4,%edx	movl	%ebp,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%ebp),%siRR0_b010:	rolw	$8,%si/NO_APP	movl	%esi,%eax	movl	%edx,24-16(%esp)	shrl	$10,%eax	movl	%edx,GLOBL(regs)+88	andl	$60,%eax	movl	%ebp,%ebx	movl	GLOBL(regs)(%eax),%edi	testl	$2048,%esi	jne	L_b_489	movswl	%di,%ediL_b_489:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_b_490	xorl	%ebp,%ebp	movl	%esi,%edx	testb	%dl,%dl	jge	L_b_491	movl	%ebp,%ebxL_b_491:	testl	$64,%esi	je	L_b_492	movl	%ebp,%ediL_b_492:	movl	%esi,%ecx	andl	$48,%ecx	cmpl	$32,%ecx	jne	L_b_493	movl	24-16(%esp),%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_b011:	rolw	$8,%dx/NO_APP	movl	%edx,20-16(%esp)	movl	28-16(%esp),%eax	addl	$6,%eax	movswl	20-16(%esp),%edx	movl	%eax,GLOBL(regs)+88	addl	%edx,%ebxL_b_493:	cmpl	$48,%ecx	jne	L_b_496	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b012:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_b_496:	movl	%esi,%ecx	andl	$3,%ecx	cmpl	$2,%ecx	jne	L_b_499	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_b013:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_b_499:	cmpl	$3,%ecx	jne	L_b_502	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_b014:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_b_502:	andl	$4,%esi	jne	L_b_505	addl	%edi,%ebxL_b_505:	testl	%ecx,%ecx	je	L_b_506	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_506:	testl	%esi,%esi	je	L_b_509	addl	%edi,%ebxL_b_509:	leal	(%ebp,%ebx),%ecx	jmp	L_b_510	.align	2,0x90L_b_490:	movl	%esi,%eax	movsbl	%al,%esi	movl	%esi,20-16(%esp)	leal	(%esi,%ebp),%edx	movl	%edx,%ecx	addl	%edi,%ecxL_b_510:	movl	%ecx,%eax	andl	$65535,%ecx	shrl	$14,%eax	movl	%ecx,%edx	andl	$1020,%eax	movl	$GLOBL(regs),%esi	addl	GLOBL(R24)(%eax),%edx/APP	xorl	%eax,%eax	movw	(%edx),%ax	rolw	$8,%ax/NO_APP	movl	%eax,20-16(%esp)	xorl	%edx,%edx	movw	20-16(%esp),%dx	movl	32-16(%esp),%eax	movl	%edx,20-16(%esp)	leal	0(,%eax,4),%ebx	movl	%edx,%ecx	movl	(%ebx,%esi),%edi	cmpw	$0,20-16(%esp)	jne	L_b_514	movl	28-16(%esp),%edx	pushl	%edx	pushl	$5	call	GLOBL(Exception)	addl	$8,%esp	jmp	L_b_515	.align	2,0x90L_b_514:	xorl	%eax,%eax	movw	%cx,%ax	movl	%eax,20-16(%esp)	movl	%edi,%eax	xorl	%edx,%edx	divl	20-16(%esp)	movl	%eax,%edi	movl	%edx,%ecx	cmpl	$65535,%edi	jbe	L_b_517	movb	regflags,%al	orb	$128,%al	movb	%al,regflags	andb	$254,%al	orb	$8,regflags+1	movb	%al,regflags	jmp	L_b_515	.align	2,0x90L_b_517:/APP	testw	%di,%di	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	movl	%edi,%edx	movl	%ecx,%eax	andl	$65535,%edx	sall	$16,%eax	orl	%eax,%edx	movl	%edx,(%ebx,%esi)L_b_515:	addl	$20,%esp	popl	%eax	decl	%eax	jl	JJ_b005	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_b015:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_b005:	retFUNC(op_8100)	subl	$12,%esp	movl	%eax,%edx	shrl	$7,%edx	andl	$7,%eax	movl	$GLOBL(regs),%ebp	movl	%edx,%edi	movb	(%ebp,%eax,4),%al	andl	$28,%edi	movb	%al,24-16(%esp)	movb	(%edi,%ebp),%bl	movb	%bl,%dl	andl	$15,%eax	andl	$15,%edx	subl	%eax,%edx	movb	%bl,20-16(%esp)

⌨️ 快捷键说明

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