The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: Black_Mage on August 12, 2005, 05:23:47 AM

Title: New to ASM and new to masm32
Post by: Black_Mage on August 12, 2005, 05:23:47 AM
As the topic suggests , I'm new to ASM and MASM32. Feel free to give your opinion but from experience programming in C++, you start out with 16-bit programming... just working with the DOS window and such. Is it a good idea to do 16-bit programming before going into 32-bit programming in ASM?

I also have another problem, when I try to use the linker that can be found at:
http://spiff.tripnet.se/~iczelion/download.html

i get completely lost on what to do. Since I'm new to masm I barely can assemble any program lol.. I just got some source code out of a tutorial to see if it would assemble and it did  :bg but the way i assembled it was go to the project tab and click on assemble & link... how would i use the linker i downloaded?

I read the other topic and tried to follow it but wasn't to succesful.

any help will be appreciated  :bg
Title: Re: New to ASM and new to masm32
Post by: hutch-- on August 13, 2005, 05:11:25 AM
Mage,

Unless you have good reason to learn DOS 16 bit code, the 32 bit code is a lot clearer, easier to write and faster. 16 bit DOS code has segmented address due to the direct 64k range of 16 bit so to address more than 64k you must use a segment address then an offset and you are still tiling the memory access. In 32 bit you have a flat 4 gigabyte address range which removes any need for segment/offset addressing.

Wit 32 bit there are more instructions available and less restrictions so all in all, unless you must write 16 bit code, start with 32 bit code.
Title: Re: New to ASM and new to masm32
Post by: Vortex on August 13, 2005, 07:24:49 AM
Hi Black_Mage,

Welcome to the forum.  :U