|
Last change
on this file was 18, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
1.6 KB
|
| Line | |
|---|
| 1 | ;
|
|---|
| 2 | ; SYMBOLS.INC -- Manage symbol tables
|
|---|
| 3 | ;
|
|---|
| 4 | ; Copyright (c) 1991-1995 by Eberhard Mattes
|
|---|
| 5 | ;
|
|---|
| 6 | ; This file is part of emx.
|
|---|
| 7 | ;
|
|---|
| 8 | ; emx is free software; you can redistribute it and/or modify it
|
|---|
| 9 | ; under the terms of the GNU General Public License as published by
|
|---|
| 10 | ; the Free Software Foundation; either version 2, or (at your option)
|
|---|
| 11 | ; any later version.
|
|---|
| 12 | ;
|
|---|
| 13 | ; emx is distributed in the hope that it will be useful,
|
|---|
| 14 | ; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 15 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 16 | ; GNU General Public License for more details.
|
|---|
| 17 | ;
|
|---|
| 18 | ; You should have received a copy of the GNU General Public License
|
|---|
| 19 | ; along with emx; see the file COPYING. If not, write to
|
|---|
| 20 | ; the Free Software Foundation, 59 Temple Place - Suite 330,
|
|---|
| 21 | ; Boston, MA 02111-1307, USA.
|
|---|
| 22 | ;
|
|---|
| 23 | ; See emx.asm for a special exception.
|
|---|
| 24 | ;
|
|---|
| 25 |
|
|---|
| 26 | NLIST STRUCT
|
|---|
| 27 | N_STRING DD ?
|
|---|
| 28 | N_TYPE DB ?
|
|---|
| 29 | N_OTHER DB ?
|
|---|
| 30 | N_DESC DW ?
|
|---|
| 31 | N_VALUE DD ?
|
|---|
| 32 | NLIST ENDS
|
|---|
| 33 |
|
|---|
| 34 | N_EXT = 01H
|
|---|
| 35 | N_TEXT = 04H
|
|---|
| 36 | N_DATA = 06H
|
|---|
| 37 | N_BSS = 08H
|
|---|
| 38 | N_SLINE = 44H
|
|---|
| 39 |
|
|---|
| 40 | SYM_ANY = 0 ; SYM_TEXT or SYM_DATA
|
|---|
| 41 | SYM_TEXT = 1
|
|---|
| 42 | SYM_DATA = 2
|
|---|
| 43 | SYM_LINE = 3
|
|---|
| 44 | SYM_NONE = 0FFH ; for disassembler
|
|---|
| 45 |
|
|---|
| 46 | IFNDEF __SYMBOLS
|
|---|
| 47 |
|
|---|
| 48 | SV_CODE SEGMENT
|
|---|
| 49 |
|
|---|
| 50 | EXTRN SYM_BY_ADDR:NEAR
|
|---|
| 51 | EXTRN SYM_BY_NAME:NEAR
|
|---|
| 52 | EXTRN SYM_MODULE:NEAR
|
|---|
| 53 | EXTRN SYM_BEFORE:NEAR
|
|---|
| 54 |
|
|---|
| 55 | SV_CODE ENDS
|
|---|
| 56 |
|
|---|
| 57 | ENDIF
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.