Module Base

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Module Base

2,067 次查看
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 回复

840 次查看
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 项奖励
回复