Hi!

5-Окт-2005 22:27 [EMAIL PROTECTED] (Diego Rodriguez) wrote to freedos-devel
<[email protected]>:

DR> Do you know a tool that let me insert an instruction and fix the
DR> subsequent addresses ?? Maybe a good disassembler helps.

     To "insert" instruction, you should move code before or after inserting
point. Moving code assumes, that you (1) have space to move and fix all
references (jumps) from unmoved portions to moved portions (and absolute
references inside moved portions). For this, you should disassemble program
(IDA, Sourcer, etc), find free space (or make it by optimizing code), then
compile changed sources (TASM, MASM, etc), then make diff-file (diff,
apatch, etc), which later may be used for patching other executable
instances.
--
-- 
                Best regards! Sincerely yours, Хемуль Советикус.
       Утомлённый чаем любитель сладкого, в девичестве Бильбо Ленивчатый.




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to