Stack Overflow for Teams A private, secure home for your team’s questions and answers. M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm. I am trying to compile, build and debug 16-bit assembly programs using Visual Studio 2005 Standard but masm32 bitcoin’t figure out how to do this.
You have to use some kind of target dependent tools. 16-bit assembly went out of fashion with Windows 3, and later tools will not target that. I am only planning to run this program on Windows XP. I am able to run these DOS 16 bit programs on Windows XP without any trouble but I would like to have the use of a debugger hence my reason to integrate VS6. I believe support for that disappeared around VC 1. If you have found some old programs, perhaps someone has already ported them to 32-bit? They only make reference to 8,16 bit registers only.
I have add success in writing my own 16 bit basic programs that work using WinASM and MASM32 on Windows XP. Why don’t you just download the MASM32 SDK it contains everything you need to Assemble and Link 16 and 32 bit programs. Gunner thank you for the reply. I agree with you and that is the version that I have downloaded and installed but what I really need is the ability to debug and view contents of registers. Thanks again to everyone for all their contributions. I’ve decided to give another debugger a try like the one suggested by Gunner. Well, haven’t used 16bit code in ages, Olly is a 32bit debugger.
There are a few out there you can search for. 0, but all subsequent versions were 32-bit only. However, that’s not the only possibility. MASM32 has been mentioned, but I would also recommend Borland’s TASM. Turbo Debugger was one of the best DOS debuggers. Would it be not possible that the 32-bit compiler and linker not able to compile the above code ? That is 16 bit code not a subset of 32 bit assembly ?
Your absolutely right about the last known version of VS that supported DOS 16-bit programs. 2005 Express which comes with MASM compiler and linker. Using Visual Studio 2008 to Assemble, Link, Debug, and Execute MASM 6. Simplifying this masm to make it faster? How to conditionally include MASM . How can Santa keep his lists when GDPR is around? How to politely communicate to a friend I don’t want to host him at my place any more?