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

📄 asm02d.s

📁 十七种模拟器源代码 非常有用的作课程设计不可缺少的
💻 S
📖 第 1 页 / 共 5 页
字号:
/APP	xorl	%esi,%esi	movw	0x2164334A(%eax),%siRR0_d110:	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_d_1714	movswl	%di,%ediL_d_1714:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_d_1715	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_d_1716	movl	%ebp,%ebxL_d_1716:	testl	$64,%esi	je	L_d_1717	movl	%ebp,%ediL_d_1717:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_d_1718	movl	20-16(%esp),%ecx/APP	xorl	%eax,%eax	movw	0x2164334A(%ecx),%axRR0_d111:	rolw	$8,%ax/NO_APP	movl	24-16(%esp),%ecx	cwtl	addl	$6,%ecx	addl	%eax,%ebx	movl	%ecx,GLOBL(regs)+88L_d_1718:	cmpl	$48,%edx	jne	L_d_1721	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_d112:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_d_1721:	movl	%esi,%ecx	andl	$3,%ecx	movl	%ecx,16-16(%esp)	cmpl	$2,%ecx	jne	L_d_1724	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_d113:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_d_1724:	cmpl	$3,16-16(%esp)	jne	L_d_1727	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_d114:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_d_1727:	andl	$4,%esi	jne	L_d_1730	addl	%edi,%ebxL_d_1730:	cmpl	$0,16-16(%esp)	je	L_d_1731	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_d_1731:	testl	%esi,%esi	je	L_d_1734	addl	%edi,%ebxL_d_1734:	leal	(%ebp,%ebx),%eax	jmp	L_d_1735	.align	2,0x90L_d_1715:	movl	%esi,%ecx	movsbl	%cl,%eax	addl	%edx,%eax	addl	%edi,%eaxL_d_1735:	movl	%eax,%edx	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%ecx,%ecx	movw	(%eax),%cx	rolw	$8,%cx/NO_APP	movl	28-16(%esp),%edx	movl	%ecx,%eax	addl	$8,%edx	cwtl	addl	%eax,GLOBL(regs)(,%edx,4)	addl	$16,%esp	popl	%eax	decl	%eax	jl	JJ_d020	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d115:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d020:	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_c03c)	movl	%eax,%ecx	movl	$GLOBL(regs),%edx	shrl	$7,%ecx	movl	GLOBL(regs)+88,%eax	andl	$28,%ecx	movb	0x2164334A+3(%eax),%alRR3_d000:	andb	(%ecx,%edx),%al/APP	testb	%al,%al	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movb	%al,(%ecx,%edx)	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d021	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d116:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d021:	retFUNC(op_c040)	movl	%eax,%edx	movl	%edx,%ecx	andl	$7,%eax	shrl	$7,%ecx	movl	$GLOBL(regs),%edx	andl	$28,%ecx	movw	(%edx,%eax,4),%ax	andw	(%ecx,%edx),%ax/APP	testw	%ax,%ax	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movw	%ax,(%ecx,%edx)	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d022	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d117:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d022:	retFUNC(op_c050)	movl	%eax,%edx	pushl	%ebx	movl	%edx,%ecx	andl	$7,%eax	shrl	$7,%ecx	movl	$GLOBL(regs),%edx	addl	$8,%eax	xorl	%ebx,%ebx	movb	2(%edx,%eax,4),%bl	movw	(%edx,%eax,4),%ax	andl	$65535,%eax	andl	$28,%ecx	addl	GLOBL(R24)(,%ebx,4),%eax/APP	xorl	%esi,%esi	movw	(%eax),%si	rolw	$8,%si/NO_APP	movl	%esi,%eax	andw	(%ecx,%edx),%ax/APP	testw	%ax,%ax	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movw	%ax,(%ecx,%edx)	popl	%ebx	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d023	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d118:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d023:	retFUNC(op_c058)	subl	$8,%esp	movl	%eax,%ecx	xorl	%edx,%edx	andl	$7,%ecx	movl	%eax,%edi	addl	$8,%ecx	sall	$2,%ecx	movl	$GLOBL(regs),%ebx	shrl	$7,%edi	movl	(%ecx,%ebx),%eax	movb	2(%ecx,%ebx),%dl	andl	$65535,%eax	addl	GLOBL(R24)(,%edx,4),%eax/APP	xorl	%edx,%edx	movw	(%eax),%dx	rolw	$8,%dx/NO_APP	movl	%edx,%eax	movl	(%ecx,%ebx),%edx	addl	$2,%edx	andl	$28,%edi	movl	%edx,(%ecx,%ebx)	andw	(%edi,%ebx),%ax/APP	testw	%ax,%ax	pushfl	popl	%edx	movl	%edx,regflags/NO_APP	movw	%ax,(%edi,%ebx)	addl	$2,GLOBL(regs)+88	addl	$8,%esp	popl	%eax	decl	%eax	jl	JJ_d024	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d119:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d024:	retFUNC(op_c060)	subl	$4,%esp	movl	%eax,%ecx	andl	$7,%ecx	addl	$8,%ecx	sall	$2,%ecx	movl	$GLOBL(regs),%esi	movl	(%ecx,%esi),%ebx	movl	%eax,%edi	addl	$-2,%ebx	shrl	$7,%edi	movl	%ebx,12-12(%esp)	movl	%ebx,%edx	movl	%ebx,%eax	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%ebx,%ebx	movw	(%eax),%bx	rolw	$8,%bx/NO_APP	movl	%ebx,%eax	movl	12-12(%esp),%ebx	andl	$28,%edi	movl	%ebx,(%ecx,%esi)	andw	(%edi,%esi),%ax/APP	testw	%ax,%ax	pushfl	popl	%edx	movl	%edx,regflags/NO_APP	movw	%ax,(%edi,%esi)	addl	$2,GLOBL(regs)+88	addl	$4,%esp	popl	%eax	decl	%eax	jl	JJ_d025	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d120:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d025:	retFUNC(op_c068)	movl	%eax,%edx	pushl	%ebx	movl	$GLOBL(regs),%ecx	movl	%eax,%ebx	andl	$7,%edx	shrl	$7,%ebx	movl	GLOBL(regs)+88,%eax/APP	xorl	%esi,%esi	movw	0x2164334A+2(%eax),%siRR2_d000:	rolw	$8,%si/NO_APP	movl	%esi,%eax	addl	$8,%edx	cwtl	addl	(%ecx,%edx,4),%eax	movl	%eax,%edx	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	andl	$28,%ebx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%esi,%esi	movw	(%eax),%si	rolw	$8,%si/NO_APP	movl	%esi,%eax	andw	(%ebx,%ecx),%ax/APP	testw	%ax,%ax	pushfl	popl	%edx	movl	%edx,regflags/NO_APP	movw	%ax,(%ebx,%ecx)	popl	%ebx	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d026	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d121:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d026:	retFUNC(op_c078)	movl	%eax,%ecx	pushl	%ebx	shrl	$7,%ecx	movl	GLOBL(regs)+88,%eax/APP	xorl	%esi,%esi	movw	0x2164334A+2(%eax),%siRR2_d001:	rolw	$8,%si/NO_APP	movl	%esi,%eax	cwtl	movl	%eax,%edx	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%esi,%esi	movw	(%eax),%si	rolw	$8,%si/NO_APP	movl	%esi,%eax	andl	$28,%ecx	movl	%eax,%edx	movl	$GLOBL(regs),%eax	andw	(%ecx,%eax),%dx/APP	testw	%dx,%dx	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movw	%dx,(%ecx,%eax)	popl	%ebx	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d027	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d122:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d027:	retFUNC(op_c079)	movl	%eax,%ecx	pushl	%ebx	shrl	$7,%ecx	movl	GLOBL(regs)+88,%eax	movl	0x2164334A+2(%eax),%eaxRR2_d002:/APP	bswapl	%eax/NO_APP	movl	%eax,%edx	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%esi,%esi	movw	(%eax),%si	rolw	$8,%si/NO_APP	movl	%esi,%eax	andl	$28,%ecx	movl	%eax,%edx	movl	$GLOBL(regs),%eax	andw	(%ecx,%eax),%dx/APP	testw	%dx,%dx	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movw	%dx,(%ecx,%eax)	popl	%ebx	addl	$6,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d028	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d123:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d028:	retFUNC(op_c07a)	movl	%eax,%ecx	pushl	%ebx	shrl	$7,%ecx	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A+2(%eax),%dxRR2_d003:	rolw	$8,%dx/NO_APP	movswl	%dx,%edx	leal	2(%edx,%eax),%eax	movl	%eax,%edx	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax/APP	xorl	%esi,%esi	movw	(%eax),%si	rolw	$8,%si/NO_APP	movl	%esi,%eax	andl	$28,%ecx	movl	%eax,%edx	movl	$GLOBL(regs),%eax	andw	(%ecx,%eax),%dx/APP	testw	%dx,%dx	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movw	%dx,(%ecx,%eax)	popl	%ebx	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d029	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d124:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d029:	retFUNC(op_c07c)	movl	%eax,%ecx	pushl	%ebx	shrl	$7,%ecx	movl	GLOBL(regs)+88,%eax/APP	xorl	%esi,%esi	movw	0x2164334A+2(%eax),%siRR2_d004:	rolw	$8,%si/NO_APP	movl	%esi,%eax	andl	$28,%ecx	movl	%eax,%edx	movl	$GLOBL(regs),%eax	andw	(%ecx,%eax),%dx/APP	testw	%dx,%dx	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movw	%dx,(%ecx,%eax)	popl	%ebx	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d030	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d125:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d030:	retFUNC(op_c080)	movl	%eax,%edx	movl	$GLOBL(regs),%ecx	shrl	$7,%edx	andl	$7,%eax	andl	$28,%edx	movl	(%ecx,%eax,4),%eax	andl	(%edx,%ecx),%eax/APP	testl	%eax,%eax	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movl	%eax,(%edx,%ecx)	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d031	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d126:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d031:	retFUNC(op_c090)	movl	%eax,%edx	andl	$7,%eax	movl	$GLOBL(regs),%ecx	addl	$8,%eax	xorl	%ebx,%ebx	movb	2(%ecx,%eax,4),%bl	movw	(%ecx,%eax,4),%ax	andl	$65535,%eax	shrl	$7,%edx	addl	GLOBL(R24)(,%ebx,4),%eax	andl	$28,%edx	movl	(%eax),%eax/APP	bswapl	%eax/NO_APP	andl	(%edx,%ecx),%eax/APP	testl	%eax,%eax	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movl	%eax,(%edx,%ecx)	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d032	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d127:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d032:	retFUNC(op_c098)	movl	%eax,%ecx	andl	$7,%ecx	pushl	%esi	addl	$8,%ecx	pushl	%ebx	sall	$2,%ecx	movl	$GLOBL(regs),%ebx	movl	%eax,%edi	movl	(%ecx,%ebx),%edx	shrl	$7,%edi	movl	%edx,%eax	movzbl	2(%ecx,%ebx),%esi	andl	$65535,%eax	andl	$28,%edi	addl	GLOBL(R24)(,%esi,4),%eax	addl	$4,%edx	movl	(%eax),%eax	movl	%edx,(%ecx,%ebx)/APP	bswapl	%eax/NO_APP	andl	(%edi,%ebx),%eax/APP	testl	%eax,%eax	pushfl	popl	%edx	movl	%edx,regflags/NO_APP	movl	%eax,(%edi,%ebx)	popl	%ebx	popl	%esi	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d033	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d128:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d033:	retFUNC(op_c0a0)	movl	%eax,%ebx	andl	$7,%ebx	addl	$8,%ebx	movl	$GLOBL(regs),%esi	sall	$2,%ebx	movl	(%ebx,%esi),%ecx	movl	%eax,%edi	addl	$-4,%ecx	shrl	$7,%edi	movl	%ecx,%edx	movl	%ecx,%eax	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax	andl	$28,%edi	movl	(%eax),%eax	movl	%ecx,(%ebx,%esi)/APP	bswapl	%eax/NO_APP	andl	(%edi,%esi),%eax/APP	testl	%eax,%eax	pushfl	popl	%edx	movl	%edx,regflags/NO_APP	movl	%eax,(%edi,%esi)	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d034	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d129:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_d034:	retFUNC(op_c0a8)	movl	%eax,%edx	pushl	%ebx	movl	$GLOBL(regs),%ecx	movl	%eax,%ebx	andl	$7,%edx	shrl	$7,%ebx	movl	GLOBL(regs)+88,%eax/APP	xorl	%esi,%esi	movw	0x2164334A+2(%eax),%siRR2_d005:	rolw	$8,%si/NO_APP	movl	%esi,%eax	addl	$8,%edx	cwtl	addl	(%ecx,%edx,4),%eax	movl	%eax,%edx	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax	andl	$28,%ebx	movl	(%eax),%eax/APP	bswapl	%eax/NO_APP	andl	(%ebx,%ecx),%eax/APP	testl	%eax,%eax	pushfl	popl	%edx	movl	%edx,regflags/NO_APP	movl	%eax,(%ebx,%ecx)	popl	%ebx	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_d035	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_d130:	movl	GLOBL(cpufunctbl)(,

⌨️ 快捷键说明

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