While studying for my Operating System Concepts final, I stumbled across
Compile time: If memory location knows, **absolute code** can be generated;
must recompile code if starting location changes
And the example gives for absolute code is the interrupt vector table. I was wondering what exactly that statement means and why is the interrupt vector table known at compile time?
It means code that loads at a known, fixed memory address. Since that address is fixed, jumps can be compiled to point directly to their target memory addresses, with no need to use relative jump instructions or fixup anything at load time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With