CHAPTER 3 CPU
(3) Define the standby mode transition instruction between #pragma asm and #pragma endasm and insert
two NOP and JMP instructions after that instruction.
Example: Transition to stop mode
#progrma asm
MOVI;_IO_LPMCR,#H'58); /* Set LPMCR SLP bit to 1 */
NOP
NOP
JMP $+3"
#progrma endasm
150
/* Jump to the next instruction */