Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site whuxle.UUCP Path: utzoo!linus!decvax!harpo!floyd!whuxle!jph From: jph@whuxle.UUCP Newsgroups: net.micro.pc Subject: Re: Loading problem - More info - (nf) Message-ID: <175@whuxle.UUCP> Date: Mon, 5-Dec-83 18:42:50 EST Article-I.D.: whuxle.175 Posted: Mon Dec 5 18:42:50 1983 Date-Received: Thu, 8-Dec-83 20:08:01 EST Sender: jph@whuxle.UUCP Organization: Bell Labs, Whippany Lines: 29 #R:hou2g:-12300:whuxle:22700008:000:548 whuxle!jph Dec 5 18:42:00 1983 The easier way is not to use separate CODE and DATA segments. In that case the program would look like: cseg segment entry: jmp init : : : data goes here so that it is defined before referenced : : init: ......real start of program push cs pop ds ; address data : : cseg ends This puts everything in the same segment and makes relocation on setting up of addressability very easy. I have noticed that the linker will concatenate the segments together in alphabetical order if they have the same attributes.