Re: Printing from asm function
- From: Tim Roberts <spamtrap@xxxxxxxxxx>
- Date: Sat, 29 Dec 2007 04:59:44 GMT
gtb <spamtrap@xxxxxxxxxx> wrote:
Might I now ask what are the idioms for printing register or memory
values?
If you are going to call your MASM code from C, you can just call printf.
If not, you can get the MASM distribution from www.masm32.com; he includes
a run-time library that has a lot of these functions.
Is there a way to see the actual code that MASM generates?
The /FAsc parameter to ml.exe gets you the maximum listing.
Can one run a debugger when running an asm function called from C/C++?
Sure. VC++ has a "disassembly" view that shows you each instruction.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Printing from asm function
- From: gtb
- Re: Printing from asm function
- From: gtb
- Re: Printing from asm function
- From: João Jerónimo
- Re: Printing from asm function
- From: gtb
- Printing from asm function
- Prev by Date: Re: Printing from asm function
- Next by Date: Re: More MASM magic
- Previous by thread: Re: Printing from asm function
- Next by thread: Re: Printing from asm function
- Index(es):