1
0
mirror of https://github.com/jborza/emu6502.git synced 2024-11-28 23:49:24 +00:00
emu6502/opcodes.h

20 lines
389 B
C
Raw Normal View History

#pragma once
2019-04-13 23:50:46 +00:00
#define BRK 0x00
#define ORA_IMM 0x09
#define ORA_ZP 0x05
2019-04-14 08:57:25 +00:00
#define ORA_ZPX 0x15
#define ORA_ABS 0x0D
2019-04-14 08:57:25 +00:00
#define ORA_ABSX 0x1D
#define ORA_ABSY 0x19
#define ORA_INDX 0x01
#define ORA_INDY 0x11
2019-04-13 23:50:46 +00:00
#define NOP 0xEA
2019-04-14 08:57:25 +00:00
#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