Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.pc » Making .COM files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Making .COM files [message #72900] Sat, 25 May 2013 10:53
Anonymous
Karma:
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: NCC '84 Trip Report
Next Topic: Macro Assemblers IBM vs. Microsoft
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Sep 21 09:29:02 EDT 2024

Total time taken to generate the page: 0.01497 seconds