Hello,
I would suggest that you consider obtaining the book -
"HCS08 Unleashed", by Fabio Pereira.
It contains numerous examples of simple C programs, with many specifically intended for the board you are using. Other example programs may easily be adapted for your board.
Regards,
Mac