how to get the destination fo the initial jump of a executable file??Can I use Debug? How?
Printable View
how to get the destination fo the initial jump of a executable file??Can I use Debug? How?
???
What do you wanna do? Parse a COM/EXE file (exe files don't start with a jmp, only coms do that)? Write assembly?
If the first: the jmp instruction has a special format. You can look it up and then extract the jump offset from the hex codes. After that it's just a matter of a little math.
If you write assembly, as you surely know, you just set a jump mark.