顯示具有 instruction 標籤的文章。 顯示所有文章
顯示具有 instruction 標籤的文章。 顯示所有文章

2009年10月6日 星期二

ARM BL instruction

syntax:
   bl function_A;
簡單說就是把下一個要執行的位置(i.e. the return address),
存到LR(r13)之後,
把function_A的位置,
存到PC中。
這樣就會跳到callee function
然後把return address存給caller function。