[問題] Relocatable code

作者: gglk (錦州挖挖)   2007-10-16 23:57:46
老師,不好意思,可以麻煩再解釋一次
PC-relative的好處(relocatable code)嗎?
A檔案說
we can move the code from one block of memory to another without changing
the target addresses
並不是很懂(move 什麼 code?? code 不是一直那裡給你讀嗎?),
PC-relative 跟 Absolute address 不是只有「計算下一個指令在哪」的方式不同而已?
算完以後還是都把PC移過去了不是嘛?
謝謝您。

Links booklink

Contact Us: admin [ a t ] ucptt.com