Module Base

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Module Base

1,590 Views
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.
Labels (1)
0 Kudos
1 Reply

363 Views
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 Kudos