mirror of
https://github.com/jborza/emu6502.git
synced 2024-11-21 23:31:19 +00:00
20 lines
389 B
C
20 lines
389 B
C
#pragma once
|
|
|
|
#define BRK 0x00
|
|
#define ORA_IMM 0x09
|
|
#define ORA_ZP 0x05
|
|
#define ORA_ZPX 0x15
|
|
#define ORA_ABS 0x0D
|
|
#define ORA_ABSX 0x1D
|
|
#define ORA_ABSY 0x19
|
|
#define ORA_INDX 0x01
|
|
#define ORA_INDY 0x11
|
|
#define NOP 0xEA
|
|
#define LDA_IMM 0xA9
|
|
#define LDA_ZP 0xA5
|
|
#define LDA_ZPX 0xB5
|
|
#define LDA_ABS 0xAD
|
|
#define LDA_ABSX 0xBD
|
|
#define LDA_ABSY 0xB9
|
|
#define LDA_INDX 0xA1
|
|
#define LDA_INDY 0xB1 |