PDA

Click to See Complete Forum and Search --> : But what i would like to know is...


Sophtware
Dec 14th, 2000, 03:14 AM
What do the files .inc .k do?
and what is a dos extender?

plus i need to take back what i said in the beginning.. can someone eplain the process in making a .exe in ASM

i mean from the .txt file to the .exe file

Thanks.

Baron_Fel
Dec 24th, 2000, 11:39 AM
Well, to make a long story short, the program reads your .txt (or any source), parses the expressions (BISON/FLEX/YACC), and writes the appropriate machine code:

For example (INTEL FORMAT):
--test.s--
SEGMENT .data
MSG DB 'Hello World', '$'

SEGMENT .text
MOV AH, 09h
MOV DX, MSG+256
INT 21h

MOV AX, 4C00h
INT 21h
----------

nasm test.s -o test.com

EXAMPLE:
MOV AX, 4C00h ---> B8 00 4C