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

📄 ops_smx.inc

📁 NES game Emulator in Linux.c and asm codes.
💻 INC
字号:
%if S_size == 8
%define OPCODE_PROLOG(op) OPCODE_LABEL OpE1_ %+ op
%else
%define OPCODE_PROLOG(op) OPCODE_LABEL OpE0M %+ M_8bit %+ X %+ X_8bit %+ _ %+ op
%endif


OPCODE_PROLOG(0x11) ; ORA (d),y
 _ORA Direct_Indirect_Indexed
OPCODE_EPILOG

OPCODE_PROLOG(0x31) ; AND (d),y
 _AND Direct_Indirect_Indexed
OPCODE_EPILOG

OPCODE_PROLOG(0x51) ; EOR (d),y
 _EOR Direct_Indirect_Indexed
OPCODE_EPILOG

OPCODE_PROLOG(0x71) ; ADC (d),y
 _ADC Direct_Indirect_Indexed
OPCODE_EPILOG

OPCODE_PROLOG(0x91) ; STA (d),y
 _STA Direct_Indirect_Indexed
OPCODE_EPILOG

OPCODE_PROLOG(0xB1) ; LDA (d),y
 _LDA Direct_Indirect_Indexed
OPCODE_EPILOG

OPCODE_PROLOG(0xD1) ; CMP (d),y
 _CMP Direct_Indirect_Indexed
OPCODE_EPILOG

OPCODE_PROLOG(0xF1) ; SBC (d),y
 _SBC Direct_Indirect_Indexed
OPCODE_EPILOG

%undef OPCODE_PROLOG

⌨️ 快捷键说明

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