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

📄 asm02c.s

📁 十七种模拟器源代码 非常有用的作课程设计不可缺少的
💻 S
📖 第 1 页 / 共 5 页
字号:
/NO_APP	addl	$16,%esp	popl	%eax	decl	%eax	jl	JJ_c014	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c089:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c014:	retFUNC(op_b1fb)	subl	$16,%esp	shrl	$9,%eax	andl	$7,%eax	movl	GLOBL(regs)+88,%ecx	movl	%eax,28-16(%esp)	movl	%ecx,%edx	movl	%ecx,24-16(%esp)	addl	$2,%edx	addl	$4,%ecx	movl	%edx,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%edx),%siRR0_c090:	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_c_1605	movswl	%di,%ediL_c_1605:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_c_1606	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_c_1607	movl	%ebp,%ebxL_c_1607:	testl	$64,%esi	je	L_c_1608	movl	%ebp,%ediL_c_1608:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_c_1609	movl	20-16(%esp),%ecx/APP	xorl	%eax,%eax	movw	0x2164334A(%ecx),%axRR0_c091:	rolw	$8,%ax/NO_APP	movl	24-16(%esp),%ecx	cwtl	addl	$6,%ecx	addl	%eax,%ebx	movl	%ecx,GLOBL(regs)+88L_c_1609:	cmpl	$48,%edx	jne	L_c_1612	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_c092:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_c_1612:	movl	%esi,%ecx	andl	$3,%ecx	movl	%ecx,16-16(%esp)	cmpl	$2,%ecx	jne	L_c_1615	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_c093:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_c_1615:	cmpl	$3,16-16(%esp)	jne	L_c_1618	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_c094:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_c_1618:	andl	$4,%esi	jne	L_c_1621	addl	%edi,%ebxL_c_1621:	cmpl	$0,16-16(%esp)	je	L_c_1622	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_c_1622:	testl	%esi,%esi	je	L_c_1625	addl	%edi,%ebxL_c_1625:	leal	(%ebp,%ebx),%eax	jmp	L_c_1626	.align	2,0x90L_c_1606:	movl	%esi,%ecx	movsbl	%cl,%eax	addl	%edx,%eax	addl	%edi,%eaxL_c_1626:	movl	%eax,%edx	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	addl	GLOBL(R24)(%edx),%eax	movl	(%eax),%edx/APP	bswapl	%edx/NO_APP	movl	28-16(%esp),%eax	addl	$8,%eax	movl	GLOBL(regs)(,%eax,4),%eax/APP	cmpl	%edx,%eax	pushfl	popl	%eax	movl	%eax,regflags/NO_APP	addl	$16,%esp	popl	%eax	decl	%eax	jl	JJ_c015	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c095:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c015:	retFUNC(op_c030)	subl	$16,%esp	movl	%eax,%edx	shrl	$9,%eax	andl	$7,%eax	andl	$7,%edx	movl	%eax,28-16(%esp)	movl	GLOBL(regs)+88,%ecx	addl	$8,%edx	movl	%ecx,%eax	movl	%ecx,24-16(%esp)	addl	$2,%eax	addl	$4,%ecx	movl	%eax,GLOBL(regs)+88/APP	xorl	%esi,%esi	movw	0x2164334A(%eax),%siRR0_c096:	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_c_1670	movswl	%di,%ediL_c_1670:	movl	%esi,%eax	shrl	$9,%eax	movl	%eax,%ecx	andl	$3,%ecx	sall	%cl,%edi	testl	$256,%esi	je	L_c_1671	xorl	%ebp,%ebp	movl	%esi,%ecx	testb	%cl,%cl	jge	L_c_1672	movl	%ebp,%ebxL_c_1672:	testl	$64,%esi	je	L_c_1673	movl	%ebp,%ediL_c_1673:	movl	%esi,%edx	andl	$48,%edx	cmpl	$32,%edx	jne	L_c_1674	movl	20-16(%esp),%ecx/APP	xorl	%eax,%eax	movw	0x2164334A(%ecx),%axRR0_c097:	rolw	$8,%ax/NO_APP	movl	24-16(%esp),%ecx	cwtl	addl	$6,%ecx	addl	%eax,%ebx	movl	%ecx,GLOBL(regs)+88L_c_1674:	cmpl	$48,%edx	jne	L_c_1677	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_c098:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	addl	%edx,%ebx	movl	%eax,GLOBL(regs)+88L_c_1677:	movl	%esi,%ecx	andl	$3,%ecx	movl	%ecx,16-16(%esp)	cmpl	$2,%ecx	jne	L_c_1680	movl	GLOBL(regs)+88,%eax/APP	xorl	%edx,%edx	movw	0x2164334A(%eax),%dxRR0_c099:	rolw	$8,%dx/NO_APP	addl	$2,%eax	movswl	%dx,%ebp	movl	%eax,GLOBL(regs)+88L_c_1680:	cmpl	$3,16-16(%esp)	jne	L_c_1683	movl	GLOBL(regs)+88,%eax	movl	0x2164334A(%eax),%edxRR0_c100:/APP	bswapl	%edx/NO_APP	addl	$4,%eax	movl	%edx,%ebp	movl	%eax,GLOBL(regs)+88L_c_1683:	andl	$4,%esi	jne	L_c_1686	addl	%edi,%ebxL_c_1686:	cmpl	$0,16-16(%esp)	je	L_c_1687	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_c_1687:	testl	%esi,%esi	je	L_c_1690	addl	%edi,%ebxL_c_1690:	leal	(%ebp,%ebx),%edx	jmp	L_c_1691	.align	2,0x90L_c_1671:	movl	%esi,%ecx	movsbl	%cl,%eax	addl	%edx,%eax	leal	(%edi,%eax),%edxL_c_1691:	movl	%edx,%eax	movl	%edx,%ebx	movl	28-16(%esp),%ecx	shrl	$14,%eax	andl	$65535,%ebx	andl	$1020,%eax	sall	$2,%ecx	movl	GLOBL(R24)(%eax),%eax	movl	%ecx,16-16(%esp)	movl	$GLOBL(regs),%edx	movb	(%ebx,%eax),%al	andb	(%ecx,%edx),%al/APP	testb	%al,%al	pushfl	popl	%ebx	movl	%ebx,regflags/NO_APP	movb	%al,(%ecx,%edx)	addl	$16,%esp	popl	%eax	decl	%eax	jl	JJ_c016	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c101:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c016:	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_9190)	xorl	%ecx,%ecx	movl	%eax,%ebx	andl	$7,%eax	movl	$GLOBL(regs),%esi	addl	$8,%eax	xorl	%edx,%edx	movb	2(%esi,%eax,4),%cl	movw	(%esi,%eax,4),%dx	sall	$2,%ecx	movl	GLOBL(R24)(%ecx),%eax	shrl	$7,%ebx	addl	%edx,%eax	andl	$28,%ebx	movl	(%eax),%eax/APP	bswapl	%eax	subl	(%ebx,%esi),%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	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c017	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c102:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c017:	retFUNC(op_9198)	movl	%eax,%edx	xorl	%ecx,%ecx	pushl	%edi	pushl	%esi	shrl	$7,%eax	movl	%edx,%esi	movl	$GLOBL(regs),%edi	andl	$7,%esi	pushl	%ebx	addl	$8,%esi	andl	$28,%eax	sall	$2,%esi	movl	(%eax,%edi),%ebp	movl	(%esi,%edi),%ebx	movb	2(%esi,%edi),%cl	movl	%ebx,%edx	sall	$2,%ecx	andl	$65535,%edx	movl	GLOBL(R24)(%ecx),%eax	addl	%edx,%eax	addl	$4,%ebx	movl	(%eax),%eax/APP	bswapl	%eax/NO_APP	movl	%ebx,(%esi,%edi)/APP	subl	%ebp,%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)	popl	%ebx	popl	%esi	popl	%edi	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c018	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c103:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c018:	retFUNC(op_91a0)	movl	%eax,%edx	movl	%edx,%esi	andl	$7,%esi	movl	$GLOBL(regs),%edi	addl	$8,%esi	sall	$2,%esi	movl	(%esi,%edi),%ebx	shrl	$7,%eax	addl	$-4,%ebx	andl	$28,%eax	movl	%ebx,%ecx	movl	(%eax,%edi),%ebp	shrl	$14,%ecx	movl	%ebx,%edx	andl	$1020,%ecx	andl	$65535,%edx	movl	GLOBL(R24)(%ecx),%eax	addl	%edx,%eax	movl	(%eax),%eax/APP	bswapl	%eax/NO_APP	movl	%ebx,(%esi,%edi)/APP	subl	%ebp,%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	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c019	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c104:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c019:	retFUNC(op_91a8)	movl	%eax,%edx	pushl	%esi	andl	$7,%edx	pushl	%ebx	movl	$GLOBL(regs),%esi	movl	%eax,%ebx	movl	GLOBL(regs)+88,%eax/APP	xorl	%edi,%edi	movw	0x2164334A+2(%eax),%diRR2_c000:	rolw	$8,%di/NO_APP	movl	%edi,%eax	addl	$8,%edx	cwtl	addl	(%esi,%edx,4),%eax	movl	%eax,%ecx	shrl	$14,%ecx	andl	$1020,%ecx	andl	$65535,%eax	movl	GLOBL(R24)(%ecx),%edx	shrl	$7,%ebx	addl	%eax,%edx	andl	$28,%ebx	movl	(%edx),%edx/APP	bswapl	%edx	subl	(%ebx,%esi),%edx	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	addl	GLOBL(W24)(%ecx),%eax/APP	bswapl	%edx/NO_APP	movl	%edx,(%eax)	popl	%ebx	popl	%esi	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c020	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c105:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c020:	retFUNC(op_91b8)	movl	%eax,%ebx	shrl	$7,%ebx	movl	GLOBL(regs)+88,%eax/APP	xorl	%esi,%esi	movw	0x2164334A+2(%eax),%siRR2_c001:	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	andl	$28,%ebx	movl	(%edx),%edx/APP	bswapl	%edx	subl	GLOBL(regs)(%ebx),%edx	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	addl	GLOBL(W24)(%ecx),%eax/APP	bswapl	%edx/NO_APP	movl	%edx,(%eax)	addl	$4,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c021	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c106:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c021:	retFUNC(op_91b9)	movl	%eax,%ebx	shrl	$7,%ebx	movl	GLOBL(regs)+88,%eax	movl	0x2164334A+2(%eax),%eaxRR2_c002:/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	andl	$28,%ebx	movl	(%edx),%edx/APP	bswapl	%edx	subl	GLOBL(regs)(%ebx),%edx	pushfl	popl	%ebx	movl	%ebx,regflags	movl	%ebx,regflags+4/NO_APP	addl	GLOBL(W24)(%ecx),%eax/APP	bswapl	%edx/NO_APP	movl	%edx,(%eax)	addl	$6,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c022	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c107:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c022:	retFUNC(op_91c0)	movl	%eax,%edx	shrl	$9,%edx	andl	$7,%edx	addl	$8,%edx	andl	$7,%eax	movl	GLOBL(regs)(,%edx,4),%ecx	subl	GLOBL(regs)(,%eax,4),%ecx	movl	%ecx,GLOBL(regs)(,%edx,4)	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c023	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c108:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c023:	retFUNC(op_91c8)	movl	%eax,%edx	shrl	$9,%edx	andl	$7,%edx	andl	$7,%eax	addl	$8,%edx	addl	$8,%eax	movl	GLOBL(regs)(,%edx,4),%ecx	subl	GLOBL(regs)(,%eax,4),%ecx	movl	%ecx,GLOBL(regs)(,%edx,4)	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c024	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c109:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c024:	retFUNC(op_91d0)	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	shrl	$9,%edx	andl	$65535,%eax	andl	$7,%edx	addl	GLOBL(R24)(,%ebx,4),%eax	addl	$8,%edx	movl	(%eax),%eax/APP	bswapl	%eax/NO_APP	subl	%eax,(%ecx,%edx,4)	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c025	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c110:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c025:	retFUNC(op_91d8)	movl	%eax,%ecx	pushl	%esi	andl	$7,%ecx	pushl	%ebx	addl	$8,%ecx	movl	%eax,%esi	sall	$2,%ecx	movl	$GLOBL(regs),%ebx	shrl	$9,%esi	movl	(%ecx,%ebx),%edx	andl	$7,%esi	movl	%edx,%eax	movzbl	2(%ecx,%ebx),%edi	andl	$65535,%eax	addl	$4,%edx	addl	GLOBL(R24)(,%edi,4),%eax	addl	$8,%esi	movl	(%eax),%eax	movl	%edx,(%ecx,%ebx)/APP	bswapl	%eax/NO_APP	subl	%eax,(%ebx,%esi,4)	popl	%ebx	popl	%esi	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c026	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c111:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c026:	retFUNC(op_91e0)	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	$9,%edi	movl	%ecx,%edx	movl	%ecx,%eax	shrl	$14,%edx	andl	$65535,%eax	andl	$1020,%edx	andl	$7,%edi	addl	GLOBL(R24)(%edx),%eax	addl	$8,%edi	movl	(%eax),%eax	movl	%ecx,(%ebx,%esi)/APP	bswapl	%eax/NO_APP	subl	%eax,(%esi,%edi,4)	addl	$2,GLOBL(regs)+88	popl	%eax	decl	%eax	jl	JJ_c027	pushl	%eax	movl	GLOBL(regs)+88,%ebx	xorl	%eax,%eax	movw	0x2164334A(%ebx),%axRR0_c112:	movl	GLOBL(cpufunctbl)(,%eax,4),%ebx	rolw	$8,%ax	jmp	*%ebxJJ_c027:	retFUNC(op_91e8)	movl	%eax,%edx	pushl	%ebx	movl	$GLOBL(regs),%ecx	movl	%eax,%ebx	andl	$7,%edx

⌨️ 快捷键说明

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