Hello,
In order to use processor Expert.
1. Create a project for HCS12 using Processor Expert and add a bean IntEEPROM to the application.
2. Configure the bean according to what you want to do,
3. let Processor Expert generate code.
In addition, please check the application note AN2204, this appnote provides sample code for reading/writing to EEPROM.
https://www.nxp.com/docs/en/application-note/AN2204.pdf
I hope this helps,
Have a nice day
Regards
Soledad