Fujitsu F2MC-16LX Hardware Manual page 61

Mb90550a/b series, 16-bit
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

❍ RETI
SSB is used regardless of whether there is a prefix.
■ Common Register Bank Prefix (CMR)
To simplify the data exchange between multiple tasks, a relatively easy means of accessing the
same register bank regardless of the RP value at that time is required. Adding the common
register bank prefix (CMR) in front of instructions that access this register bank simplifies all
register access of the instruction to common banks between 000180
bank selected when RP = 0) regardless of the current RP value.
However, note the following remark about instructions when using the common register bank
prefix (CMR):
❍ String instructions [MOVS, MOVSW, SCEQ, SCWEQ, FILS, FILSW]
If an interrupt is requested during the execution of a string instruction to which a prefix code has
been added, a malfunction occurs after the return from the interrupt because the prefix has
become invalid. Therefore, do not add the CMR prefix to the above string instructions.
❍ Flag change instructions [AND CCR, #imm8/OR CCR, #imm8/POPW PS]
The operation of these instructions is normal, but the prefix has an effect on the next instruction.
❍ MOV ILM, #imm8
The operation of this instruction is normal, but the prefix has an effect on the next instruction.
■ Flag Change Suppression Prefix (NCC)
To suppress a flag change, use the flag change suppression prefix code (NCC). By placing the
prefix code in front of the instruction to suppress an unwanted flag change, a flag change during
the execution of the instruction can be suppressed.
However, note the following remarks about instructions when using the flag change suppression
prefix (NCC):
❍ String instructions [MOVS, MOVSW, SCEQ, SCWEQ, FILS, FILSW]
If an interrupt request occurs during execution of a string instruction to which a prefix code was
added, a malfunction occurs after the return from the interrupt because the prefix has become
invalid. Therefore, do not add the NCC prefix to the above string instructions.
❍ Flag change instruction [AND CCR, #imm8/OR CCR, #imm8/POPW PS]
The operation of these instructions is normal, but the prefix has an effect on the next instruction.
❍ Interrupt instructions [INT #vct8/INT9/INT addr16/INTP addr24/RETI]
CCR changes according to the instruction specifications regardless of whether there is a prefix.
❍ JCTX @A
CCR changes according to the instruction specifications regardless of whether there is a prefix.
❍ MOV ILM, #imm8
The operation of this instructions is normal, but the prefix has an effect on the next instruction.
2.6 Prefix Codes
and 00018F
(register
H
H
45

Advertisement

Table of Contents
loading

Table of Contents