Fujitsu F2MC-16LX Hardware Manual page 55

Mb90470 series 16-bit microcontroller
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

❍ MOV ILM, #imm8
If an instruction operation is normal as is, a prefix affects the next instruction.
❍ RETI
SSB is used regardless of prefix.
I Common register bank prefix (CMR)
To facilitate data exchange between multiple tasks, the same register bank needs to be easily
accessed regardless of each register bank pointer (RP) value. If CMR is inserted before an
instruction that accesses a register bank, the instruction accesses the common bank with
addresses ranging from 000180
the current RP value.
However, be careful when you are using the following instructions:
❍ String instruction (MOVS, MOVSW, SCEQ, SCWEQ, FILS, FILSW)
If an interrupt request is issued while a string instruction with a prefix code is executed, the
prefix code is disabled when the string instruction is returned after the interrupt is processed.
Thus, with interrupt processing, the string instruction causes an error. Do not add a CMR prefix
to such a string instruction.
❍ Flag change instruction (AND CCR, #imm8, OR CCR, #imm8)
An instruction operation is normal, but a prefix affects the next instruction.
❍ MOV ILM, #imm8
An instruction operation is normal, but a prefix affects the next instruction.
I Flag change suppress prefix
To suppress a flag change, specify the flag change suppress prefix code (NCC). By inserting
NCC before an instruction, the flag change caused by an instruction is suppressed. However,
be careful if you use instructions listed below.
❍ String instruction (MOVS, MOVSW, SCEQ, SCWEQ, FILS, FILSW)
If an interrupt request occurs when a string instruction with prefix code is executed, the prefix
code is disabled when the string instruction is returned after the interrupt is processed. Thus,
with interrupt processing, the string instruction causes an error. Do not add a CMR prefix to the
above string instruction.
❍ Flag change instruction (AND CCR, #imm8, OR CCR, #imm8)
An instruction operation is normal, but a prefix affects the next instruction.
❍ Interrupt instruction (INT #vct8, INT9, INT addr16, INTO addr24, POPW PS)
CCR changes according to the instruction specification regardless of the prefix.
❍ JCTX@A
CCR change according to the instruction specification regardless of the prefix.
❍ MOV ILM, #imm8
An instruction operation is normal, but a prefix affects the next instruction.
to 00018F
(register bank selected if RP = 0) regardless of
H
H
CHAPTER 2 CPU
39

Advertisement

Table of Contents
loading

Table of Contents