Hello asm community,

I'm learning asm, and I want to see and understand what each instruction is doing. Is there an ide similar to turbo pascal / C++ that can single step every instruction?

Regards,
leopardus.
Posted on 2007-01-20 09:36:15 by leopardus
Indeed there is - the most popular one is bound to be http://www.ollydbg.de .

If you already have an IDE like Visual Studio, there's bound to be an "assembly window" you can open while debugging - useful to see what your higher-level code gets translated to and check it out at runtime.
Posted on 2007-01-20 09:50:08 by f0dder
What you are looking for is a debugger. Ollydbg is a good choice in my opinion though there are some opcodes that it can't decode properly.

Waiting for 2.0 to be out, but it seems like forever
Posted on 2007-01-20 10:31:21 by roticv

What you are looking for is a debugger. Ollydbg is a good choice in my opinion though there are some opcodes that it can't decode properly.

Waiting for 2.0 to be out, but it seems like forever

Last time I saw Olly, 2.0 is giving preference to speed over quality.  8) So I guess the opcode decoding wont improve too much, tho I think there are some other goodies that might make more readable other stuff. I believe.
Posted on 2007-01-20 18:55:49 by codename
It's kinda sucky to try to debug codes with the newer opcodes with ollydbg. Oh well I hope he does support it asap.
Posted on 2007-01-20 19:11:23 by roticv
Please see the attached file. First when I compile, it will not be linked with masm32. I use a 16 bit executable and I get the exe. Since these are very basic programs I would like to see how each instruction is affecting the registers and memory. I tried ollydbg, windbg, easycode, winasm ... I cannot single step and these are a bit too complicated for me at this stage.

The book I'm reading suggests workbench and codeview, however I cannot find these.

There must be a simple solution!!!

Regards,
leopardus.
Attachments:
Posted on 2007-01-22 02:42:21 by leopardus


olly is 32 bit, 16 bit executable, for debugging you'll need to use something like softice, codeview, or another debugger...
Posted on 2007-01-22 03:35:09 by evlncrn8
For 16bit debugging, google "grdb" - should be first hit. Dunno if there's anything more decent around that's free. 16bit sux :)
Posted on 2007-01-22 04:40:30 by f0dder
*sigh*

http://www.btinternet.com/~btketman/
Posted on 2007-01-22 11:41:58 by eek
I use W32Dasm Ver 8.9 for both 32-bit and 16 bit debugging. It is great and you can download it from this link. Although it is too bad that it is now called an abandonware but anyway. You can even find Turbo Pascal 1 in there.

Oh and f0dder probably meant: 16bit rox :lol:

f0dder edit: removed not-so-kosher link.
Posted on 2007-01-22 12:56:35 by XCHG
XHCG: while the page claimed to have "abandonware", I'm not sure Microsoft agrees that NT3.5 should be freely distributed, and same goes for other software there.

And I really do mean that 16bit sucks, I abandoned it as soon as I could in the 90es, and I've certainly not looked back since.
Posted on 2007-01-22 17:17:27 by f0dder