OpenCores
URL https://opencores.org/ocsvn/t6507lp/t6507lp/trunk

Subversion Repositories t6507lp

[/] [t6507lp/] [trunk/] [fv/] [fsm_opcodes.e] - Blame information for rev 206

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 206 creep
<'
2
type valid_opcodes : [
3
        ADC_IMM = 8'h69,
4
        ADC_ZPG = 8'h65,
5
        ADC_ZPX = 8'h75,
6
        ADC_ABS = 8'h6D,
7
        //ADC_ABX = 8'h7D,
8
        //ADC_ABY = 8'h79,
9
        //ADC_IDX = 8'h61,
10
        //ADC_IDY = 8'h71,
11
        AND_IMM = 8'h29,
12
        AND_ZPG = 8'h25,
13
        AND_ZPX = 8'h35,
14
        AND_ABS = 8'h2D,
15
        //AND_ABX = 8'h3D,
16
        //AND_ABY = 8'h39,
17
        //AND_IDX = 8'h21,
18
        //AND_IDY = 8'h31,
19
        ASL_ACC = 8'h0A,
20
        ASL_ZPG = 8'h06,
21
        //ASL_ZPX = 8'h16,
22
        ASL_ABS = 8'h0E,
23
        //ASL_ABX = 8'h1E,
24
        //BCC_REL = 8'h90,
25
        //BCS_REL = 8'hB0,
26
        //BEQ_REL = 8'hF0,
27
        BIT_ZPG = 8'h24,
28
        BIT_ABS = 8'h2C,
29
        //BMI_REL = 8'h30,
30
        //BNE_REL = 8'hD0,
31
        //BPL_REL = 8'h10,
32
        BRK_IMP = 8'h00,
33
        //BVC_REL = 8'h50,
34
        //BVS_REL = 8'h70,
35
        CLC_IMP = 8'h18,
36
        CLD_IMP = 8'hD8,
37
        CLI_IMP = 8'h58,
38
        CLV_IMP = 8'hB8,
39
        CMP_IMM = 8'hC9,
40
        CMP_ZPG = 8'hC5,
41
        CMP_ZPX = 8'hD5,
42
        CMP_ABS = 8'hCD,
43
        //CMP_ABX = 8'hDD,
44
        //CMP_ABY = 8'hD9,
45
        //CMP_IDX = 8'hC1,
46
        //CMP_IDY = 8'hD1,
47
        CPX_IMM = 8'hE0,
48
        //CPX_ZPG = 8'hE4,
49
        //CPX_ABS = 8'hEC,
50
        CPY_IMM = 8'hC0,
51
        //CPY_ZPG = 8'hC4,
52
        //CPY_ABS = 8'hCC,
53
        DEC_ZPG = 8'hC6,
54
        //DEC_ZPX = 8'hD6,
55
        DEC_ABS = 8'hCE,
56
        //DEC_ABX = 8'hDE,
57
        DEX_IMP = 8'hCA,
58
        DEY_IMP = 8'h88,
59
        EOR_IMM = 8'h49,
60
        EOR_ZPG = 8'h45,
61
        EOR_ZPX = 8'h55,
62
        EOR_ABS = 8'h4D,
63
        //EOR_ABX = 8'h5D,
64
        //EOR_ABY = 8'h59,
65
        //EOR_IDX = 8'h41,
66
        //EOR_IDY = 8'h51,
67
        INC_ZPG = 8'hE6,
68
        //INC_ZPX = 8'hF6,
69
        INC_ABS = 8'hEE,
70
        //INC_ABX = 8'hFE,
71
        INX_IMP = 8'hE8,
72
        INY_IMP = 8'hC8,
73
        JMP_ABS = 8'h4C,
74
        //JMP_IND = 8'h6C,
75
        //JSR_ABS = 8'h20,
76
        LDA_IMM = 8'hA9,
77
        LDA_ZPG = 8'hA5,
78
        LDA_ZPX = 8'hB5,
79
        LDA_ABS = 8'hAD,
80
        //LDA_ABX = 8'hBD,
81
        //LDA_ABY = 8'hB9,
82
        //LDA_IDX = 8'hA1,
83
        //LDA_IDY = 8'hB1,
84
        LDX_IMM = 8'hA2,
85
        LDX_ZPG = 8'hA6,
86
        LDX_ZPY = 8'hB6,
87
        LDX_ABS = 8'hAE,
88
        //LDX_ABY = 8'hBE,
89
        LDY_IMM = 8'hA0,
90
        LDY_ZPG = 8'hA4,
91
        LDY_ZPX = 8'hB4,
92
        LDY_ABS = 8'hAC,
93
        //LDY_ABX = 8'hBC,
94
        LSR_ACC = 8'h4A,
95
        LSR_ZPG = 8'h46,
96
        //LSR_ZPX = 8'h56,
97
        LSR_ABS = 8'h4E,
98
        //LSR_ABX = 8'h5E,
99
        NOP_IMP = 8'hEA,
100
        ORA_IMM = 8'h09,
101
        ORA_ZPG = 8'h05,
102
        ORA_ZPX = 8'h15,
103
        ORA_ABS = 8'h0D,
104
        //ORA_ABX = 8'h1D,
105
        //ORA_ABY = 8'h19,
106
        //ORA_IDX = 8'h01,
107
        //ORA_IDY = 8'h11,
108
        PHA_IMP = 8'h48,
109
        PHP_IMP = 8'h08,
110
        PLA_IMP = 8'h68,
111
        PLP_IMP = 8'h28,
112
        ROL_ACC = 8'h2A,
113
        ROL_ZPG = 8'h26,
114
        //ROL_ZPX = 8'h36,
115
        ROL_ABS = 8'h2E,
116
        //ROL_ABX = 8'h3E,
117
        //ROR_ACC = 8'h6A,
118
        ROR_ZPG = 8'h66,
119
        //ROR_ZPX = 8'h76,
120
        ROR_ABS = 8'h6E,
121
        //ROR_ABX = 8'h7E,
122
        RTI_IMP = 8'h40,
123
        RTS_IMP = 8'h60,
124
        SBC_IMM = 8'hE9,
125
        SBC_ZPG = 8'hE5,
126
        SBC_ZPX = 8'hF5,
127
        SBC_ABS = 8'hED,
128
        //SBC_ABX = 8'hFD,
129
        //SBC_ABY = 8'hF9,
130
        //SBC_IDX = 8'hE1,
131
        //SBC_IDY = 8'hF1,
132
        SEC_IMP = 8'h38,
133
        SED_IMP = 8'hF8,
134
        SEI_IMP = 8'h78,
135
        STA_ZPG = 8'h85,
136
        //STA_ZPX = 8'h95,
137
        STA_ABS = 8'h8D,
138
        //STA_ABX = 8'h9D,
139
        //STA_ABY = 8'h99,
140
        //STA_IDX = 8'h81,
141
        //STA_IDY = 8'h91,
142
        STX_ZPG = 8'h86,
143
        //STX_ZPY = 8'h96,
144
        STX_ABS = 8'h8E,
145
        STY_ZPG = 8'h84,
146
        //STY_ZPX = 8'h94,
147
        STY_ABS = 8'h8C,
148
        TAX_IMP = 8'hAA,
149
        TAY_IMP = 8'hA8,
150
        TSX_IMP = 8'hBA,
151
        TXA_IMP = 8'h8A,
152
        TXS_IMP = 8'h9A,
153
        TYA_IMP = 8'h98
154
];
155
'>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.