blob: 5611585069b84bc4275ce5624ebf231a3af5417d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
#define OPNAME(opcode) #opcode
#define CPS 0x00
#define ADC 0x01
#define PHP 0x08
#define PHA 0x09
#define PHY 0x0A
#define PAY 0x0B
#define PHX 0x0C
#define PAX 0x0D
#define JMP 0x10
#define SBC 0x11
#define PLP 0x18
#define PLA 0x19
#define PLY 0x1A
#define PYA 0x1B
#define PLX 0x1C
#define PXA 0x1D
#define JSR 0x20
#define AND 0x21
#define ANY 0x22
#define AAY 0x23
#define ANX 0x24
#define AAX 0x25
#define TSR 0x28
#define BPO 0x30
#define ORA 0x31
#define ORY 0x32
#define OAY 0x33
#define ORX 0x34
#define OAX 0x35
#define SEZ 0x38
#define BNG 0x40
#define XOR 0x41
#define XRY 0x42
#define XAY 0x43
#define XRX 0x44
#define XAX 0x45
#define CLZ 0x48
#define BCS 0x50
#define SLA 0x51
#define SEC 0x58
#define BCC 0x60
#define SRA 0x61
#define CLC 0x68
#define BEQ 0x70
#define ROL 0x71
#define SSP 0x78
#define BNE 0x80
#define ROR 0x81
#define CSP 0x88
#define BVS 0x90
#define MUL 0x91
#define SEV 0x98
#define BVC 0xA0
#define DIV 0xA1
#define CLV 0xA8
#define RTS 0xB0
#define CMP 0xB1
#define CPY 0xB2
#define CAY 0xB3
#define CPX 0xB4
#define CAX 0xB5
#define RTT 0xB8
#define RTI 0xC0
#define INC 0xC1
#define INY 0xC2
#define IAY 0xC3
#define INX 0xC4
#define IAX 0xC5
#define SFB 0xC8
#define DEC 0xD1
#define DEY 0xD2
#define DAY 0xD3
#define DEX 0xD4
#define DAX 0xD5
#define CFB 0xD8
#define LDA 0xE1
#define LDY 0xE2
#define LAY 0xE3
#define LDX 0xE4
#define LAX 0xE5
#define NOP 0xE8
#define STA 0xF1
#define STY 0xF2
#define SAY 0xF3
#define STX 0xF4
#define SAX 0xF5
#define BRK 0xF8
|