What is r13 used for in PowerPC architecture

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

What is r13 used for in PowerPC architecture

898件の閲覧回数
jinyu_zhang
Contributor II

Morning, everyone:

I am using the Codewarrior ver8.8 for debuging the MPC855T. I have found that in the interrupt processing function, once after restoring the r13, when it reach a global variation, the debug would send an Exception, which is a Machine check Exception. So what is the r13 used for, and how would restoring it cause the exception?

I also refer to the new found project. In the group runtime, there is a Interrupt vector file eppc_exception.asm. And found that the saved and restored GPRs not including the r13-r31. As I know, r14-r31 is the temporary registers, non-volatile.When an interrupt occurs, how protect the registers from altering? Does the Codewarrior compiler add some codes to save them?

Any discussion and reply will be appreciated.

Thanks and good day!

BR,

Jinyu.

0 件の賞賛
返信
0 返答(返信)