How to use CDBA for Debugging on the Assembly Level
compile/assemble and link your source as a Win32 binary. Here's an example with Masm or JWasm. The source (TEST.ASM) is:
.386 .model flat .code _start: mov eax,ebx ret end _start
First, assemble and link the source:
After these steps you should have a TEST.EXE file.
launch CDBA with these parameters:
CDBA -g -j TEST.EXE
and you'll see a screen like this:
The debugger has stopped on program entry. Now you can use debugger commands
R - to see (or modify) the contents of the cpu registers
T - to single-step thru your program
G - to run your program
U - to show a disassembly list
D - to "dump" memory contents
A - to enter the line assembler ( if you want to modify your program on the fly )
Q - to quit debugging
and there are a lot more commands available - but requires to study the debugger help.