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

Subversion Repositories t6507lp

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

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 212 creep
        ADC_ABX = 8'h7D,
8
        ADC_ABY = 8'h79,
9 214 creep
        ADC_IDX = 8'h61,
10 215 creep
        ADC_IDY = 8'h71,
11 206 creep
        AND_IMM = 8'h29,
12
        AND_ZPG = 8'h25,
13
        AND_ZPX = 8'h35,
14
        AND_ABS = 8'h2D,
15 212 creep
        AND_ABX = 8'h3D,
16
        AND_ABY = 8'h39,
17 214 creep
        AND_IDX = 8'h21,
18 215 creep
        AND_IDY = 8'h31,
19 206 creep
        ASL_ACC = 8'h0A,
20
        ASL_ZPG = 8'h06,
21 212 creep
        ASL_ZPX = 8'h16,
22 206 creep
        ASL_ABS = 8'h0E,
23 214 creep
        ASL_ABX = 8'h1E,
24 206 creep
        //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 212 creep
        CMP_ABX = 8'hDD,
44
        CMP_ABY = 8'hD9,
45 214 creep
        CMP_IDX = 8'hC1,
46 215 creep
        CMP_IDY = 8'hD1,
47 206 creep
        CPX_IMM = 8'hE0,
48 216 creep
        CPX_ZPG = 8'hE4,
49
        CPX_ABS = 8'hEC,
50 206 creep
        CPY_IMM = 8'hC0,
51 216 creep
        CPY_ZPG = 8'hC4,
52
        CPY_ABS = 8'hCC,
53 206 creep
        DEC_ZPG = 8'hC6,
54 212 creep
        DEC_ZPX = 8'hD6,
55 206 creep
        DEC_ABS = 8'hCE,
56 214 creep
        DEC_ABX = 8'hDE,
57 206 creep
        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 212 creep
        EOR_ABX = 8'h5D,
64
        EOR_ABY = 8'h59,
65 214 creep
        EOR_IDX = 8'h41,
66 215 creep
        EOR_IDY = 8'h51,
67 206 creep
        INC_ZPG = 8'hE6,
68 212 creep
        INC_ZPX = 8'hF6,
69 206 creep
        INC_ABS = 8'hEE,
70 214 creep
        INC_ABX = 8'hFE,
71 206 creep
        INX_IMP = 8'hE8,
72
        INY_IMP = 8'hC8,
73
        JMP_ABS = 8'h4C,
74 216 creep
        JMP_IND = 8'h6C,
75 241 creep
        JSR_ABS = 8'h20,
76 206 creep
        LDA_IMM = 8'hA9,
77
        LDA_ZPG = 8'hA5,
78
        LDA_ZPX = 8'hB5,
79
        LDA_ABS = 8'hAD,
80 212 creep
        LDA_ABX = 8'hBD,
81
        LDA_ABY = 8'hB9,
82 214 creep
        LDA_IDX = 8'hA1,
83 215 creep
        LDA_IDY = 8'hB1,
84 206 creep
        LDX_IMM = 8'hA2,
85
        LDX_ZPG = 8'hA6,
86
        LDX_ZPY = 8'hB6,
87
        LDX_ABS = 8'hAE,
88 212 creep
        LDX_ABY = 8'hBE,
89 206 creep
        LDY_IMM = 8'hA0,
90
        LDY_ZPG = 8'hA4,
91
        LDY_ZPX = 8'hB4,
92
        LDY_ABS = 8'hAC,
93 212 creep
        LDY_ABX = 8'hBC,
94 206 creep
        LSR_ACC = 8'h4A,
95
        LSR_ZPG = 8'h46,
96 212 creep
        LSR_ZPX = 8'h56,
97 206 creep
        LSR_ABS = 8'h4E,
98 214 creep
        LSR_ABX = 8'h5E,
99 206 creep
        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 212 creep
        ORA_ABX = 8'h1D,
105
        ORA_ABY = 8'h19,
106 214 creep
        ORA_IDX = 8'h01,
107 215 creep
        ORA_IDY = 8'h11,
108 206 creep
        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 212 creep
        ROL_ZPX = 8'h36,
115 206 creep
        ROL_ABS = 8'h2E,
116 214 creep
        ROL_ABX = 8'h3E,
117
        ROR_ACC = 8'h6A,
118 206 creep
        ROR_ZPG = 8'h66,
119 212 creep
        ROR_ZPX = 8'h76,
120 206 creep
        ROR_ABS = 8'h6E,
121 214 creep
        ROR_ABX = 8'h7E,
122 206 creep
        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 212 creep
        SBC_ABX = 8'hFD,
129
        SBC_ABY = 8'hF9,
130 214 creep
        SBC_IDX = 8'hE1,
131 215 creep
        SBC_IDY = 8'hF1,
132 206 creep
        SEC_IMP = 8'h38,
133
        SED_IMP = 8'hF8,
134
        SEI_IMP = 8'h78,
135
        STA_ZPG = 8'h85,
136 212 creep
        STA_ZPX = 8'h95,
137 206 creep
        STA_ABS = 8'h8D,
138 216 creep
        STA_ABX = 8'h9D,
139
        STA_ABY = 8'h99,
140 214 creep
        STA_IDX = 8'h81,
141 216 creep
        STA_IDY = 8'h91,
142 206 creep
        STX_ZPG = 8'h86,
143 212 creep
        STX_ZPY = 8'h96,
144 206 creep
        STX_ABS = 8'h8E,
145
        STY_ZPG = 8'h84,
146 212 creep
        STY_ZPX = 8'h94,
147 206 creep
        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.