[问题] 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