|Bona Fide OS Development
|32-bit relative addressing
|Page 1 of 1|
|Author:||losethos [ Tue Jan 04, 2011 3:39 am ]|
|Post subject:||32-bit relative addressing|
Since CALL and JMP instructions have 32-bit and not 64-bit relative addressing, I put all my code in the lowest 2 Gig. Data can be anything.
I wrote my own compiler. I could load RAX, followed by CALL RAX, but I don't like wasting so many bytes and it's just ugly.
|Page 1 of 1||All times are UTC - 6 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group