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

📄 asm021.s

📁 十七种模拟器源代码 非常有用的作课程设计不可缺少的
💻 S
📖 第 1 页 / 共 5 页
字号:
	addl	%edi,%eaxL_1_1821:	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,19-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	19-16(%esp),%cl	movl	GLOBL(W24)(%ebx),%edx	orb	%al,%cl	movb	%cl,(%esi,%edx)	addl	$16,%esp	popl	%eax	decl	%eax	jl	JJ_1020	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1100:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1020:	retFUNC(op_a30)	subl	$20,%esp	movl	GLOBL(regs)+88,%ecx	andl	$7,%eax	movl	%ecx,28-16(%esp)	addl	$8,%eax	movb	0x2164334A+3(%ecx),%clRR3_1002:	movl	28-16(%esp),%edx	movl	28-16(%esp),%edi	movb	%cl,35-16(%esp)	addl	$4,%edx	addl	$6,%edi	movl	%edx,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%edx),%siRR0_1101:	rolw	$8,%si/NO_APP	movl	GLOBL(regs)(,%eax,4),%ebp	movl	%esi,%eax	movl	%edi,24-16(%esp)	shrl	$10,%eax	movl	%edi,GLOBL(regs)+88	andl	$60,%eax	movl	GLOBL(regs)(%eax),%eax	movl	%ebp,%ebx	movl	%eax,16-16(%esp)	testl	$2048,%esi	jne	L_1_1867	movswl	16-16(%esp),%ecx	movl	%ecx,16-16(%esp)L_1_1867:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,16-16(%esp)	testl	$256,%esi	je	L_1_1868	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_1_1869	movl	%ebp,%ebxL_1_1869:	testl	$64,%esi	je	L_1_1870	movl	%ebp,16-16(%esp)L_1_1870:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_1_1871	movl	24-16(%esp),%edi/APP	xorl	%eax,%eax	movw	0x2164334A(%edi),%axRR0_1102:	rolw	$8,%ax/NO_APP	movl	28-16(%esp),%ecx	cwtl	addl	$8,%ecx	addl	%eax,%ebx	movl	%ecx,GLOBL(regs)+88L_1_1871:	cmpl	$48,%edx	jne	L_1_1874	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1103:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_1_1874:	movl	%esi,%edi	andl	$3,%edi	movl	%edi,20-16(%esp)	cmpl	$2,%edi	jne	L_1_1877	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_1104:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_1_1877:	cmpl	$3,20-16(%esp)	jne	L_1_1880	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_1105:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_1_1880:	andl	$4,%esi	jne	L_1_1883	addl	16-16(%esp),%ebxL_1_1883:	cmpl	$0,20-16(%esp)	je	L_1_1884	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_1884:	testl	%esi,%esi	je	L_1_1887	addl	16-16(%esp),%ebxL_1_1887:	leal	(%ebp,%ebx),%eax	jmp	L_1_1888	.align	2,0x90L_1_1868:	movl	%esi,%ecx	movsbl	%cl,%eax	addl	%ebp,%eax	addl	16-16(%esp),%eaxL_1_1888:	movl	%eax,%edx	andl	$65535,%eax	shrl	$14,%edx	movl	%eax,20-16(%esp)	andl	$1020,%edx	movl	20-16(%esp),%edi	movl	GLOBL(R24)(%edx),%eax	movb	(%edi,%eax),%al	xorb	%al,35-16(%esp)	movb	35-16(%esp),%cl/APP	testb	%cl,%cl	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	movl	GLOBL(W24)(%edx),%eax	movb	%cl,(%edi,%eax)	addl	$20,%esp	popl	%eax	decl	%eax	jl	JJ_1021	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1106:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1021:	ret.comm	GLOBL(R24),1024.comm	GLOBL(W24),1024.comm	GLOBL(ROM),4.comm	_RAM,4.comm	_GFX,4.comm	_SMP,4.comm	_EEPROM,4.comm	_Z80ROM,4.comm	_ByteRead,4.comm	_WordRead,4.comm	_LongRead,4.comm	_ByteWrite,4.comm	_WordWrite,4.comm	_LongWrite,4.comm	regflags,8.comm	GLOBL(regs),180FUNC(op_420)	subl	$4,%esp	movl	%eax,%edx	andl	$7,%edx	movl	GLOBL(regs)+88,%eax	movl	$GLOBL(regs),%edi	movb	0x2164334A+3(%eax),%alRR3_1003:	leal	8(%edx),%ebx	movb	%al,15-12(%esp)	sall	$2,%ebx	movl	GLOBL(areg_byteinc)(,%edx,4),%eax	movl	(%ebx,%edi),%ecx	subl	%eax,%ecx	movl	%ecx,%edx	shrl	$14,%edx	movl	%ecx,%esi	andl	$1020,%edx	andl	$65535,%esi	movl	GLOBL(R24)(%edx),%eax	movb	(%esi,%eax),%al	movl	%ecx,(%ebx,%edi)	movb	%al,%cl/APP	subb	15-12(%esp),%cl	pushfl	popl	%eax	movl	%eax,regflags	movl	%eax,regflags+4/NO_APP	movl	GLOBL(W24)(%edx),%eax	movb	%cl,(%esi,%eax)	addl	$4,GLOBL(regs)+88	addl	$4,%esp	popl	%eax	decl	%eax	jl	JJ_1022	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1107:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1022:	retFUNC(op_428)	movl	%eax,%edx	andl	$7,%edx	movl	GLOBL(regs)+88,%ebx/APP	xorl	%eax,%eax	movw	0x2164334A+4(%ebx),%axRR4_1004:	rolw	$8,%ax/NO_APP	cwtl	addl	$8,%edx	addl	GLOBL(regs)(,%edx,4),%eax	movl	%eax,%edx	shrl	$14,%edx	andl	$1020,%edx	andl	$65535,%eax	movl	GLOBL(R24)(%edx),%ecx	movb	(%eax,%ecx),%cl/APP	subb	0x2164334A+3(%ebx),%clRR3_1004:	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	movl	GLOBL(W24)(%edx),%edx	movb	%cl,(%eax,%edx)	addl	$6,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1023	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1108:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1023:	retFUNC(op_438)	movl	GLOBL(regs)+88,%ebx/APP	xorl	%eax,%eax	movw	0x2164334A+4(%ebx),%axRR4_1005:	rolw	$8,%ax/NO_APP	cwtl	movl	%eax,%edx	shrl	$14,%edx	andl	$1020,%edx	andl	$65535,%eax	movl	GLOBL(R24)(%edx),%ecx	movb	(%eax,%ecx),%cl/APP	subb	0x2164334A+3(%ebx),%clRR3_1005:	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	movl	GLOBL(W24)(%edx),%edx	movb	%cl,(%eax,%edx)	addl	$6,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1024	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1109:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1024:	retFUNC(op_439)	movl	GLOBL(regs)+88,%ebx	movl	0x2164334A+4(%ebx),%ecxRR4_1006:/APP	bswapl	%ecx/NO_APP	movl	%ecx,%eax	shrl	$14,%eax	andl	$1020,%eax	andl	$65535,%ecx	movl	GLOBL(R24)(%eax),%edx	movb	(%ecx,%edx),%dl/APP	subb	0x2164334A+3(%ebx),%dlRR3_1006:	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	movl	GLOBL(W24)(%eax),%eax	movb	%dl,(%ecx,%eax)	addl	$8,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1025	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1110:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1025:	retFUNC(op_440)	movl	%eax,%edx	pushl	%ebx	andl	$7,%edx	movl	GLOBL(regs)+88,%eax/APP	xorl	%ecx,%ecx	movw	0x2164334A+2(%eax),%cxRR2_1019:	rolw	$8,%cx/NO_APP	sall	$2,%edx	movl	$GLOBL(regs),%eax	movw	(%edx,%eax),%si/APP	subw	%cx,%si	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	movl	%esi,%ecx	movw	%cx,(%edx,%eax)	popl	%ebx	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1026	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1111:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1026:	retFUNC(op_450)	movl	%eax,%edx	xorl	%ecx,%ecx	andl	$7,%edx	pushl	%ebx	addl	$8,%edx	movl	GLOBL(regs)+88,%eax	movb	GLOBL(regs)+2(,%edx,4),%cl/APP	xorl	%ebx,%ebx	movw	0x2164334A+2(%eax),%bxRR2_1020:	rolw	$8,%bx/NO_APP	movw	GLOBL(regs)(,%edx,4),%dx	sall	$2,%ecx	andl	$65535,%edx	movl	GLOBL(R24)(%ecx),%eax	addl	%edx,%eax/APP	xorl	%esi,%esi	movw	(%eax),%si	rolw	$8,%si/NO_APP	movl	%esi,%eax/APP	subw	%bx,%ax	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	andl	$65535,%eax	addl	GLOBL(W24)(%ecx),%edx/APP	rolw	$8,%ax/NO_APP	movw	%ax,(%edx)	popl	%ebx	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1027	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1112:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1027:	retFUNC(op_458)	movl	%eax,%ecx	pushl	%edi	andl	$7,%ecx	pushl	%esi	addl	$8,%ecx	pushl	%ebx	sall	$2,%ecx	movl	GLOBL(regs)+88,%eax/APP	xorl	%ebp,%ebp	movw	0x2164334A+2(%eax),%bpRR2_1021:	rolw	$8,%bp/NO_APP	movl	GLOBL(regs)(%ecx),%edx	xorl	%ebx,%ebx	movb	GLOBL(regs)+2(%ecx),%bl	movl	%edx,%esi	sall	$2,%ebx	andl	$65535,%esi	movl	GLOBL(R24)(%ebx),%eax	addl	$2,%edx	addl	%esi,%eax/APP	xorl	%edi,%edi	movw	(%eax),%di	rolw	$8,%di/NO_APP	movl	%edi,%eax	movl	%edx,GLOBL(regs)(%ecx)/APP	subw	%bp,%ax	pushfl	popl	%edx	movl	%edx,regflags	movl	%edx,regflags+4/NO_APP	andl	$65535,%eax	addl	GLOBL(W24)(%ebx),%esi/APP	rolw	$8,%ax/NO_APP	movw	%ax,(%esi)	popl	%ebx	popl	%esi	popl	%edi	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1028	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1113:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1028:	retFUNC(op_460)	movl	%eax,%ecx	pushl	%edi	andl	$7,%ecx	pushl	%esi	addl	$8,%ecx	pushl	%ebx	sall	$2,%ecx	movl	GLOBL(regs)(%ecx),%edx	addl	$-2,%edx	movl	GLOBL(regs)+88,%eax	movl	%edx,%ebx/APP	xorl	%ebp,%ebp	movw	0x2164334A+2(%eax),%bpRR2_1022:	rolw	$8,%bp/NO_APP	shrl	$14,%ebx	movl	%edx,%esi	andl	$1020,%ebx	andl	$65535,%esi	movl	GLOBL(R24)(%ebx),%eax	addl	%esi,%eax/APP	xorl	%edi,%edi	movw	(%eax),%di	rolw	$8,%di/NO_APP	movl	%edi,%eax	movl	%edx,GLOBL(regs)(%ecx)/APP	subw	%bp,%ax	pushfl	popl	%edx	movl	%edx,regflags	movl	%edx,regflags+4/NO_APP	andl	$65535,%eax	addl	GLOBL(W24)(%ebx),%esi/APP	rolw	$8,%ax/NO_APP	movw	%ax,(%esi)	popl	%ebx	popl	%esi	popl	%edi	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1029	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1114:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1029:	retFUNC(op_468)	movl	%eax,%edx	pushl	%ebx	andl	$7,%edx	movl	GLOBL(regs)+88,%eax/APP	xorl	%ebx,%ebx	movw	0x2164334A+2(%eax),%bxRR2_1023:	rolw	$8,%bx	xorl	%esi,%esi	movw	0x2164334A+4(%eax),%siRR4_1007:	rolw	$8,%si/NO_APP	movl	%esi,%eax	addl	$8,%edx	cwtl	addl	GLOBL(regs)(,%edx,4),%eax	movl	%eax,%ecx	shrl	$14,%ecx	andl	$1020,%ecx	andl	$65535,%eax	movl	GLOBL(R24)(%ecx),%edx	addl	%eax,%edx/APP	xorl	%esi,%esi	movw	(%edx),%si	rolw	$8,%si/NO_APP	movl	%esi,%edx/APP	subw	%bx,%dx	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	andl	$65535,%edx	addl	GLOBL(W24)(%ecx),%eax/APP	rolw	$8,%dx/NO_APP	movw	%dx,(%eax)	popl	%ebx	addl	$6,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1030	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1115:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1030:	retFUNC(op_478)	movl	GLOBL(regs)+88,%eax/APP	xorl	%ebx,%ebx	movw	0x2164334A+2(%eax),%bxRR2_1024:	rolw	$8,%bx	xorl	%esi,%esi	movw	0x2164334A+4(%eax),%siRR4_1008:	rolw	$8,%si/NO_APP	movl	%esi,%eax	cwtl	movl	%eax,%ecx	shrl	$14,%ecx	andl	$1020,%ecx	andl	$65535,%eax	movl	GLOBL(R24)(%ecx),%edx	addl	%eax,%edx/APP	xorl	%esi,%esi	movw	(%edx),%si	rolw	$8,%si/NO_APP	movl	%esi,%edx/APP	subw	%bx,%dx	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	andl	$65535,%edx	addl	GLOBL(W24)(%ecx),%eax/APP	rolw	$8,%dx/NO_APP	movw	%dx,(%eax)	addl	$6,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1031	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1116:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1031:	retFUNC(op_479)	movl	GLOBL(regs)+88,%eax/APP	xorl	%ebx,%ebx	movw	0x2164334A+2(%eax),%bxRR2_1025:	rolw	$8,%bx/NO_APP	movl	0x2164334A+4(%eax),%eaxRR4_1009:/APP	bswapl	%eax/NO_APP	movl	%eax,%ecx	shrl	$14,%ecx	andl	$1020,%ecx	andl	$65535,%eax	movl	GLOBL(R24)(%ecx),%edx	addl	%eax,%edx/APP	xorl	%esi,%esi	movw	(%edx),%si	rolw	$8,%si/NO_APP	movl	%esi,%edx/APP	subw	%bx,%dx	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	andl	$65535,%edx	addl	GLOBL(W24)(%ecx),%eax/APP	rolw	$8,%dx/NO_APP	movw	%dx,(%eax)	addl	$8,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1032	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1117:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1032:	retFUNC(op_480)	movl	%eax,%edx	andl	$7,%edx	movl	GLOBL(regs)+88,%eax	movl	0x2164334A+2(%eax),%eaxRR2_1026:/APP	bswapl	%eax/NO_APP	movl	GLOBL(regs)(,%edx,4),%ecx/APP	subl	%eax,%ecx	pushfl	popl	%eax	movl	%eax,regflags	movl	%eax,regflags+4/NO_APP	movl	%ecx,GLOBL(regs)(,%edx,4)	addl	$6,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_1033	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_1118:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_1033:	retFUNC(op_490)	movl	%eax,%edx	xorl	%ecx,%ecx	andl	$7,%edx	movl	GLOBL(regs)+88,%eax	addl	$8,%edx	movl	0x2164334A+2(%eax),%ebxRR2_1027:	movb	GLOBL(regs)+2(,%edx,4),%cl/APP	bswapl	%ebx/NO_APP	movw	GLOBL(regs)(,%edx,4),%dx	sall	$2,%ecx	andl	$65535,%edx	movl	GLOBL(R24)(%ecx),%eax	addl	%edx,%ea

⌨️ 快捷键说明

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