flat assembler
Message board for the users of flat assembler.
Index
> DOS > Error in compiled com image |
Author |
|
wanderer 25 Aug 2003, 09:30
keyoke wrote: now when i debug this type of example the call to the someotherproc If you mean that a wrong offset is generated in this instruction, then it's because you didn't place org 100h in the beginning of code. As you know, com files are loaded on offset 100h from segment start. The procedure call was generated correctly as there's relative offset in it, however it won't work for global variables for example. _________________ Best regards, Antoch Victor |
|||
25 Aug 2003, 09:30 |
|
Tomasz Grysztar 25 Aug 2003, 09:40
It's probably an error of debugger - if it treats your data string as instructions and disassemble them, it might happen (an often happens) that it'll end with treating first bytes or real instructions that you put after the data block as the additional bytes for some not-really-existing instruction discovered in your data, and so the disassembly will be wrong.
|
|||
25 Aug 2003, 09:40 |
|
keyoke 25 Aug 2003, 10:29
Privalov,
I do use Code:
org 100h
use16
to debug i use the ms-dos debug command would this disassemble the code incorrectly? i have also tried turbo debugger to debug the code... it seems like the debugger isnt disassembling the code directly??? i dunno maybe ill try disassembling it with ida to check wat comes up.. |
|||
25 Aug 2003, 10:29 |
|
Yawgmoth 25 Aug 2003, 11:44
Speaking of debuggers, when can we expect a FASM debugger?
|
|||
25 Aug 2003, 11:44 |
|
keyoke 27 Aug 2003, 07:09
I think privalov has enough on his plate already.....with the fasm compiler, and all the documentation. So i think we should give him a bit of a break maybe someone else will code a debugger for fasm. would be good
|
|||
27 Aug 2003, 07:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.