Re:Executing flat binaries
Posted: Wed Oct 12, 2005 5:01 am
My hypothesis has been confirmed! I achieved an absolute jump by loading a register with an address and jumping to the location pointed to by that register. Thanks.
The Place to Start for Operating System Developers
http://f.osdev.org/
Code: Select all
typedef void (*func_ptr)(void);
func_ptr f = (func_ptr)0x200000;
f();
Code: Select all
call 0x200000