Advertisement

80x86 Assembly Compiler.

Started by June 06, 2000 09:25 AM
6 comments, last by Vorador 24 years, 6 months ago
I am finished with C++ for the time being and am now learning 80x86 assembly language. However I am not sure what compiler I should use to compile my assembly programs. If it wouldn''t be to much trouble can anyone tell me what are some good 80x86 assembly compilers. Vorador ///////////////// " This just goes to show that there are only two kinds of people in this world, stupid people... and me."
--------------------------------------------------------"This just goes to show that there are only two kinds of people in this world, stupid people... and me."
Just get MASM - you can find it in a number of places, and even download it off the Microsoft web site, though it''s a bit complex. ( you have to extract it from a .cab file if I''m not mistaken ).


#pragma DWIM // Do What I Mean!
~ Mad Keith ~
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.
Advertisement
You can find instructions on how to get it
here
.
I hope that helps.


#pragma DWIM // Do What I Mean!
~ Mad Keith ~
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.
There is also Nasm available at http://www.cryogen.com/Nasm/. It''s a little more flexible than MASM and also has ports to other OS''s.
I would recommend MASM expecially to start with. It''s compatable with all the Microsoft Lib''s and has some nice semi-high level syntax (With out sacrificing speed) So you can use .if statements and such and it''ll translate them into cmp instructions, nice.
After that I''ve heard that a commercial version of TASM is the next best. TASM is apparently quicker to compile but it lacks some compatability.
See ya,
Ben
__________________________Mencken's Law:"For every human problem, there is a neat, simple solution; and it's always wrong."
"Computers in the future may weigh no more than 1.5 tons."- Popular Mechanics, forecasting the relentless march of science in 1949
I''d recommend NASM myself. It can create libraries that are compatible with Visual C++ and, unlike MASM or TASM, it doesn''t attempt to second-guess the programmer. What you mean is what you get, without ambiguities.
Advertisement
Stupid lazy C++ programmer question: Can you extend the NASM syntax to include code for SSE and 3DNow?


#pragma DWIM // Do What I Mean!
~ Mad Keith ~
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.
If you want to include 3dnow or SSE code, you will either have to make it yourself.
However, AMD has released a 3dnow mathlibrary which you can get for free. I don''t know if it''s any good because I had coded my own before their was released.

toraq

"There are two things infinite human stupidity and the universe, but I am not sure about the latter"
-Albert Einstein-
"There are two things infinite human stupidity and the universe, but I am not sure about the latter" -Albert Einstein-

This topic is closed to new replies.

Advertisement