I should make an assembly program with windows debug.exe that send a text or windows clock via serial port. i know how is it with masm32 but i dunno whats is this debug.exe , can somebody explain me about it and if its possible gimme a sample of it :red
http://technet.microsoft.com/en-us/library/bb491040.aspx
http://technet.microsoft.com/en-us/library/bb491041.aspx
You'll need to do some research on the MS-DOS's INT 21h command API. Open a file handle for "COM1", and send data to the file, close the handle when your done. The API also includes time/date functions.
DEBUG has a line assembler, your teacher must really love you.
Suggest you implement your 16-bit code in MASM, when you have it finalized generate a listing file (-Fl) and use that as a template for typing the code into DEBUG.
digelo,
Assuming that you are not required to do it the hard way, I think Clive has the right idea, except instead of typing directly into debug I would use the listing file to create a debug script that you could then use debug to assemble. To augment the information at the links that Clive posted, you might want to take a look at the debug tutorial (of sorts) that I posted here:
http://www.masm32.com/board/index.php?topic=1993.msg16019#msg16019
Ty so much