flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Juhas 29 Apr 2012, 11:36
Hi, what is the best way to debug fasm? Of course it should be free(for non commercial use).
|
|||
![]() |
|
cod3b453 29 Apr 2012, 13:13
Visual Studio (including free express edition) also allow you to debug by placing int3 in the code and then selecting the debug option. After that, you can set up data*/code debug locations and use the debug context to rerun as many times as needed around re-assembly.
*Express version does not provide data break points |
|||
![]() |
|
Juhas 29 Apr 2012, 13:31
Unfortunately OllyDBG cannot read MZ files. Can you give me some clues about int 3? I tried to use it but it occured that I don't know how.
|
|||
![]() |
|
cod3b453 29 Apr 2012, 14:03
int3 is a special one byte encoding for the int 0x03 instruction and can simply be assembled into the source code:
Code: mov eax,dword [num] mov ebx,dword [den] xor edx,edx int3 ; software breakpoint mul ebx |
|||
![]() |
|
AsmGuru62 29 Apr 2012, 14:30
@Juhas: I see... you need 16-bit debugger then.
Google "16bit dos debugger" -- it is possible you'll get some good hits. However, MZ is an old technology. In my opinion Turbo Debugger is the best for MZ files. Try here: http://www.winprog.org/tutorial/bcpp.html |
|||
![]() |
|
revolution 29 Apr 2012, 23:25
Moved to DOS. MZ info is more appropriate here.
|
|||
![]() |
|
rugxulo 30 Apr 2012, 22:53
|
|||
![]() |
|
DOS386 15 Jun 2012, 03:33
There is a recent discussion http://board.flatassembler.net/topic.php?t=13973 and a FAQ on this http://board.flatassembler.net/topic.php?p=106203#106203
![]() rugxulo wrote: > Try GRDB or DebugX or even OpenWatcom's WD Does it work with FreeDOS now ? |
|||
![]() |
|
rugxulo 05 Jul 2012, 21:19
>> Try GRDB or DebugX or even OpenWatcom's WD
> > Does [WD] work with FreeDOS now ? I honestly don't know as I'm not familiar with WD. If it doesn't, please feel free to report it (yes, again) to one of the FreeDOS mailing lists (and not the bugtracker, which apparently nobody reads). |
|||
![]() |
|
Tomasz Grysztar 06 Jul 2012, 11:06
There was a similar thread in the very early days of this board, in which I recommended my personal favorite from the DOS times:
http://board.flatassembler.net/topic.php?t=17 As I recall, it was even able to emulate 386 processor in case other debugging techniques were not appropriate. PS Wow, that thread has id 17, it was really one of the first threads here. |
|||
![]() |
|
DOS386 24 Sep 2012, 07:08
> PS Wow, that thread has id 17, it was really one of the first threads here
2003-Jun-18 ... but both links are dead ![]() |
|||
![]() |
|
ACP 24 Sep 2012, 11:16
Since it is wise to assume that FASM is run on modern hardware it is also feasible to use emulators like Bochs or Qemu or even great x86emu ida plugin (but this one requires IDA licence).
If you are referring to CUP386/CodeDigger than this link is working: ftp://ftp.sac.sk/pub/sac/pack/ucfcup34.zip |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.