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

Subversion Repositories copyblaze

[/] [copyblaze/] [trunk/] [copyblaze/] [sw/] [tools/] [asm/] [pBlazASM/] [pBlazASM/] [pbDirectives.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ameziti
/*
2
 *  Copyright © 2003..2008 : Henk van Kampen <henk@mediatronix.com>
3
 *
4
 *      This file is part of pBlazASM.
5
 *
6
 *  pBlazASM is free software: you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation, either version 3 of the License, or
9
 *  (at your option) any later version.
10
 *
11
 *  pBlazASM is distributed in the hope that it will be useful,
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 *  GNU General Public License for more details.
15
 *
16
 *  You should have received a copy of the GNU General Public License
17
 *  along with pBlazASM.  If not, see <http://www.gnu.org/licenses/>.
18
 */
19
 
20
//!
21
// List of directive recognized by pBlazASM.
22
// For compatability, pBlazIDE and KCPSM3 directives
23
// are recognized and processed
24
//
25
const symbol_t directives[] =
26
        {
27
        // pBlazASM
28
                        { tDIRECTIVE, stORG,        ".ORG",     0 },
29
                        { tDIRECTIVE, stEND,        ".END",     0 },
30
                        { tDIRECTIVE, stPAGE,       ".PAG",     0 },
31
 
32
                        { tDIRECTIVE, stSCRATCHPAD, ".SCR",     0 },
33
                        { tDIRECTIVE, stSFR,        ".SFR",     0 },
34
 
35
                        { tDIRECTIVE, stEQU,        ".EQU",     0 },
36
                        { tDIRECTIVE, stBYTE,       ".BYT",     0 },
37
                        { tDIRECTIVE, stWORD_BE,    ".WBE",     0 },
38
                        { tDIRECTIVE, stWORD_LE,    ".WLE",     0 },
39
                        { tDIRECTIVE, stLONG_BE,    ".LBE",     0 },
40
                        { tDIRECTIVE, stLONG_LE,    ".LLE",     0 },
41
                        { tDIRECTIVE, stBUFFER,     ".BUF",     0 },
42
                        { tDIRECTIVE, stTEXT,       ".TXT",     0 },
43
 
44
                // pBlazIDE
45
                        { tDIRECTIVE, stORG,        "ORG",      0 },
46
                        { tDIRECTIVE, stEQU,        "EQU",      0 },
47
                        { tDIRECTIVE, stDS,         "DS",       0 },
48
                        { tDIRECTIVE, stDSIN,       "DSIN",     0 },
49
                        { tDIRECTIVE, stDSOUT,      "DSOUT",    0 },
50
                        { tDIRECTIVE, stDSIO,       "DSIO",     0 },
51
                        { tDIRECTIVE, stDSROM,      "DSROM",    0 },
52
                        { tDIRECTIVE, stDSRAM,      "DSRAM",    0 },
53
 
54
                        { tDIRECTIVE, stVHDL,       "VHDL",     0 },
55
                        { tDIRECTIVE, stMEM,        "MEM",      0 },
56
                        { tDIRECTIVE, stCOE,        "COE",      0 },
57
                        { tDIRECTIVE, stHEX,        "HEX",      0 },
58
 
59
                // KCPSM3
60
                        { tDIRECTIVE, stADDRESS,    "ADDRESS",  0 },
61
                        { tDIRECTIVE, stCONSTANT,   "CONSTANT", 0 },
62
                        { tDIRECTIVE, stNAMEREG,    "NAMEREG",  0 } } ;

powered by: WebSVN 2.1.0

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