I am using MC9S08DZ96 microcontroller and I using code warrior version 11. I want to put the MCU to sleep mode(STOP3). In the CPU settings, I have changed the sleep mode setting and the relevant registers have been activated.

I know with the asm stop; command MCU goes to sleep mode. But it doesn't work. I think this command:
#define StopMode {asm STOP;}
should be defined somewhere. Does anyone know how to define stop mode?