Link to home
Start Free TrialLog in
Avatar of whluk
whluk

asked on

Determining the segment boundary

Hi all,
    I'm now working on a dissembler for DOS/Windows using C. And I want to tart it off from DOS. There are a couple of disassembers in the market now. And I knew that they used PRELOAD method to load the program to memory to decide the segment boundaries before it is transversed. What I want to do is to dump the whole program from disk to disk. that means that the whole program(no matter how big) can be reassembled without errors like being found in the other dissembler like sourcer
Avatar of scrapdog
scrapdog
Flag of United States of America image

Do you have a specific question?
Avatar of whluk
whluk

ASKER

The question is how to determine the segment boundaries in DOS.

Thanks
Jacky
ASKER CERTIFIED SOLUTION
Avatar of jjmcd
jjmcd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial