Originally posted by: Jake_Richter%RPI-MTS@sri-unix.UUCP
Message-ID: <424@sri-arpa.UUCP>
Date: Mon, 23-Jul-84 19:40:04 EDT
Article-I.D.: sri-arpa.424
Posted: Mon Jul 23 19:40:04 1984
Date-Received: Sat, 28-Jul-84 08:01:25 EDT
Lines: 43
D9H ; Register address
;
BEGIN: MOV DX,REG_ADR
MOV AL,BOR_VAL
OUT DX,AL
INT 20H
START ENDP
;
CSEG ENDS
END START ; Make SURE to include the label which
; tells the Linker where to start execution.
When no execution address is supplied, the Linker assumes
it to be 0000H. Then, when EXE2BIN gets "hands" on the .EXE version,
it moves it up to start at 100H, so as to conform w/.COM formats.
Thus, if you supply the execution address to be at 100H, EXE2BIN
does not have to move the program because it already starts at
the correct location.
Jake Richter
RPI