.REL format [message #112222] |
Mon, 16 September 2013 13:41 |
Boebert
Messages: 18 Registered: May 2013
Karma: 0
|
Junior Member |
|
|
Message-ID: <6717@brl-tgr.ARPA>
Date: Fri, 21-Dec-84 10:26:14 EST
Article-I.D.: brl-tgr.6717
Posted: Fri Dec 21 10:26:14 1984
Date-Received: Sun, 23-Dec-84 00:37:15 EST
Sender: news@brl-tgr.ARPA
Organization: Ballistic Research Lab
Lines: 4
Does there exist a document (underground or otherwise) which describes
the internal form of .REL files?
Thanx, Earl (Boebert -at HI-Multics)
|
|
|
Re: .REL format [message #112229 is a reply to message #112222] |
Mon, 16 September 2013 13:41 |
Andrew[1][2][3][4]
Messages: 40 Registered: March 2013
Karma: 0
|
Member |
|
|
Message-ID: <1266@orca.UUCP>
Date: Sun, 23-Dec-84 05:03:55 EST
Article-I.D.: orca.1266
Posted: Sun Dec 23 05:03:55 1984
Date-Received: Mon, 24-Dec-84 03:23:47 EST
References: <6717@brl-tgr.ARPA>
Organization: Tektronix, Wilsonville OR
Lines: 8
"Does there exist a document (underground or otherwise) which
describes the internal form of .REL files?"
Look in the MACRO-80 manual, in the chapter which describes the loader.
-- Andrew Klossner (decvax!tektronix!orca!andrew) [UUCP]
(orca!andrew.tektronix@csnet-relay) [ARPA]
|
|
|
Re: .REL format [message #112275 is a reply to message #112222] |
Mon, 16 September 2013 13:42 |
cem
Messages: 155 Registered: May 2013
Karma: 0
|
Senior Member |
|
|
Message-ID: <470@intelca.UUCP>
Date: Tue, 1-Jan-85 21:05:16 EST
Article-I.D.: intelca.470
Posted: Tue Jan 1 21:05:16 1985
Date-Received: Thu, 3-Jan-85 07:35:32 EST
References: <6717@brl-tgr.ARPA>
Organization: Intel, Santa Clara, Ca.
Lines: 11
Yes, a description exists, it is not so underground as you might expect. It
is in an appendix of the MicroSoft Utilities Manual. Not wishing to get into
any copyright flak I suggest you get a copy of this manual from MicroSoft or
Intel Literature (408) 987-8080 (Order Number 121797-001, don't know the price)
--Chuck
--
- - - D I S C L A I M E R - - -
{ihnp4,fortune}!dual\ All opinions expressed herein are my
{qantel,idi}-> !intelca!cem own and not those of my employer, my
{ucbvax,hao}!hplabs/ friends, or my avocado plant. :-}
|
|
|
Re: .REL Format [message #112335 is a reply to message #112222] |
Mon, 16 September 2013 13:43 |
mpackard
Messages: 13 Registered: May 2013
Karma: 0
|
Junior Member |
|
|
Message-ID: <4800007@uok.UUCP>
Date: Mon, 31-Dec-84 17:39:00 EST
Article-I.D.: uok.4800007
Posted: Mon Dec 31 17:39:00 1984
Date-Received: Mon, 14-Jan-85 01:35:40 EST
Lines: 55
Nf-ID: #N:uok:4800007:000:1841
Nf-From: uok!mpackard Dec 31 16:39:00 1984
[]
This is the format for .REL files:
These files are bit-streams rather than byte-streams.
----------------------------------------------------------------------
| 1 | XX | XXXX | XX XXXXXXXXXXXXXXXX | XXX+CHARACTERS OF SYMBOL NAME|
----------------------------------------------------------------------
^ ^ ^ ^ ^
| | | | |
Always 1 | | |
| | A Field B Field
| | Chars are 8 Bit ASCII
00 - special link (see below)
01 - program relative
10 - data relative
11 - common relative
|
|
Control Field:
The following special link items have a B field only
0 - Entry Symbol (name for search)
1 - Select COMMON block
2 - Program name
3 - Request library search
4 - Reserved
The following special link items have both an A field and B field
5 - Define COMMON size
6 - Chain external (A is head of address chain, B is name of
external
7 - Define entry point (A is address B is name)
8 - External offset. Used for JMP and CALL to externals
The following special link items have an A field only
9 - External + offset. The A value will be added to the two
bytes starting at the current location counter immediately
before execution.
10 - Define the size of the Data area. (A is the size)
11 - Set the loading location counter to A
12 - Chain address. A is the head of chain, replace all entries
in chain with current location counter. The last entry in
the chain has an address field of absolute zero.
13 - Define program size
14 - End of program (forces to byte boundary)
The following special link item has neither an A nor a B field
15 - End File
|
|
|