Play with RosAsm, it has a debugger which is written using RosAsm so you can see how it does what it does as well. This is the best way to see one that is open source to get an idea. You can get it here:
RosAsm is a little different feature wise than most assemblers, and actually allows you to hold your source inside the PE itself, but looking at the debugger will give you and idea of how ASM debuggers work.
Bookmarks