Displaying Data for Debugging in MASM (85068)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
This article was previously published under Q85068 SUMMARY
It is sometimes helpful to be able to find out the contents of a
register or memory location without using a debugger. The following
two routines will print the value of the AX register to the screen in
hexadecimal. The first routine accomplishes this by calling MS-DOS
Interrupt 21h. The second routine accomplishes the same thing by using
BIOS Interrupt 10h. Depending on what the program is doing, one of
these routines may be more suitable than the other.
Modification Type: | Major | Last Reviewed: | 10/20/2003 |
---|
Keywords: | KB85068 |
---|
|