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.
Printable View
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.
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