Extension Instruction Specifications
3-39
In addition, please obey the following recommended conditions of 3 points when a program is developed by the
assembler so that this error would not occur. As for the program developed by the PanaXSeries C compiler, the
following recommended conditions are guaranteed.
1. Please use RTI instruction on a return from an interrupt.
2. Please use the value set by SETLB instruction for LIR and LAR which stores branch target of Lcc instruction.
3. Please don't execute RET instruction or RETF instruction operating the stack frame.
This note applies to the following instructions :
<Memory access instructions>
Ones of the following instructions which access to a memory.
MOV instruction, MOVBU instruction, MOVHU instruction, MOVM instruction, BSET instruction,
BCLR instruction, MOVH instruction (Only store) or MOVB instruction (Only store).
<Multiply-and-accumulate instructions>
MAC instruction, MACH instruction, MACU instruction, MACHU instruction,
MACB instruction, MACBU instruction
<High-speed multiplication instructions>
MULQ instruction, MULQU instruction, MULQI instruction, MULQIU instruction
<The other extension instructions>
PUTX instruction, PUTCX instruction, GETX instruction, GETCHX instruction,
GETCLX instruction, CLRMAC instruction, SAT16 instruction, SAT24 instruction,
MCST instruction, MACT9 instruction, MCST48 instruction, BSCH instruction,
SWAP instruction, SWAPH instruction