0

Okay, so I have a project activity to find maximum and min elements of a matrix. I kinda know how to make .asm file, but I don't know how to make .exe and .obj. Or are they generating by themselves? How to connect .exe with .asm?

2
Contributors
1
Reply
3
Views
7 Years
Discussion Span
Last Post by tesuji
0

Okay, so I have a project activity to find maximum and min elements of a matrix. I kinda know how to make .asm file, but I don't know how to make .exe and .obj. Or are they generating by themselves? How to connect .exe with .asm?

Hello

OKay, that depends on the segements organisation of the program (including ORG) you define. And it depends strictly on the macro assembler you are using. For example using MASM or archaic TASM the model TINY and ORG 100H tells MASM to assembly a COM file. Model SMALL (1 data, 1 stack 1 code segment) and omitting ORG derictive just makes the minimal possible EXE file. Recently there was a question here on daniweb concerning the ORG directive. There I told something about this stuff.

So which assembler are you using, MASM, (TASM), MASM32, NASM, WinASM, or even an ARM or MIPS assembler ... ? On MSDOS/Windows they all "connect" .asm with .exe/.com files (by means of assembling and linking).

-- tesu

Edited by tesuji: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.