Module Base

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

Module Base

2,051件の閲覧回数
Gizzzmo
Contributor I
What does it corresponds to ?? I'm working on a E128 and i would like to know the module base to calculate the address of the FSTAT register.

Thanks.
ラベル(1)
0 件の賞賛
返信
1 返信

824件の閲覧回数
UK_CF_FAE
NXP Employee
NXP Employee
The FSTAT register is at RegisterBase + 0x105. Since it is possible to relocate the register table on the S12, we have to specify each register in the form (BaseAddress + Offset).
On the S12, the INITRG register is used to specify the BaseAddress for the RegisterTable. As is happens, the default base address is 0x0000, and so unless you make any changes, you should see FSTAT at 0x0105.
 
Mark
0 件の賞賛
返信