Search code examples
assemblydostsr

DOS execution of assembly code


I'm writing a chunk of assembly that will register a tsr and then exit.

I'm struggling to figure out how to properly assemble this to a format that I can execute in dos.

i'm have access to ubuntu 9.04 and windows xp. (linux method is preffered). If anyone can tell me how i go about assembling my code into a dos executable format, and then how i execute it in dos i'd greatly appreciate it!


Solution

  • Incase anyone else happens upon here with the same question I had here is the answer I finally found. Its a free development environment that allows for easily making dos programs:

    http://www.winasm.net/

    the dev environment does all the backend work using masm so that has to be installed also but it handles all of the assembly and linking.