I've come up with a snag
In order to get the code to work, I made the base address of the code segment 0x10000
This works but is not what I want, obvousely.
Anyway My Jump Code is:
Jmp 0x0008:ToHere
ToHere:
How do I add the extra 0x10000 to ToHere:?
I tried Jmp 0x0008:ToHere + 0x10000, but there was no difference! It just jumped to ToHere:
Thanks
Stack Faults
Re:Stack Faults
Problem fixed is a perfectly adequate solution, my program moved it's self to segment 0, after moving the IVT to 0x2000. then jump to it ans alls fine!
Thanks for your help in helping the guide me to my solution.
Thanks for your help in helping the guide me to my solution.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Stack Faults
objdump will only work with 32 bits objects files (usually called .o), not with pure "MS-DOS" executables. I dunno about WIN32 executable.srg wrote: It also doesn't work on the EXE file, which is a DOS EXE.
Or does it only work with .obj files (as the name would suggest :-[ )