May be you can check the "Learn Programming with C" course from CodeWarriorU:
http://www.embeddedlearningcenter.com/freescale/publish/COURSE27448/Learn_Programming_with_C.pdf
You can also check this application note (Getting started with HCS08 and CodeWarrior using C):
http://www.freescale.com/files/microcontrollers/doc/app_note/AN2616.pdf