View Single Post
Old 03-Jan-2006, 09:51 AM   #2 (permalink)
tejus
Learning to Fix Error!
 
tejus's Avatar

Posts: 48
Join Date: Jan 2006
Rep Power: 0 tejus is on a distinguished road

IM:
Default Re: Debugging Windows

Continued here...

If you leave out the amount of instructions that you want to trace, you can use the proceed (p) to continue the execution as long as you want.
Unassemble:

Unassembles a block of code. Great for debugging (and cracking)
-u 100 L 8 <-- unassembles 8 bytes starting at offset 100
107A:0100 MOV AH,02 <-- debut's response
107A:0102 MOV DL,41
107A:0104 INT 21
107A:0106 INT 20
Write:

This command works very similar to Load. It also has 2 ways it can operate: using name, and by specifying an exact location. Refer to back to Load for more information.

NOTE: The register CX must be set the file size in order to write!
NOTE: Write will not write .EXE or .HEX files.
tejus is offline   Reply With Quote