什么是绝对代码,为什么在编译时知道它?

Rya*_*man 3 compiler-construction operating-system compile-time

在研究我的操作系统概念决赛时,我偶然发现了

Compile time: If memory location knows, **absolute code** can be generated;
must recompile code if starting location changes
Run Code Online (Sandbox Code Playgroud)

并且示例给出的绝对代码是中断向量表.我想知道这个语句究竟意味着什么,为什么在编译时知道中断向量表?

Chr*_*res 6

它表示在已知的固定内存地址加载的代码.由于该地址是固定的,因此可以编译跳转以直接指向其目标存储器地址,而无需在加载时使用相对跳转指令或修复任何内容.