beautypg.com

FUJITSU F2MCTM-16LX User Manual

Page 65

background image

49

CHAPTER 2 CPU

MOV ILM,#imm8

The instruction is executed normally, but the prefix affects the next instruction.

RETI

SSB is used regardless of the prefix.

Common Register Bank Prefix (CMR)

To simplify data exchange between multiple tasks, the same register bank must be accessed relatively

easily regardless of the RP value. When CMR is placed before an instruction that accesses a register bank,

the register accessed by that instruction can be changed to the common bank (the register bank selected

when RP=0) at addresses from 000180

H

to 00018F

H

regardless of the current RP value. Use the following

instructions with care:

String instructions (MOVS, MOVSW, SCEQ, SCWEQ, FILS, FILSW)

If an interrupt request occurs during execution of a string instruction with a prefix code, the prefix code

becomes invalid when the string instruction is resumed after the interrupt is processed. Thus, the string

instruction is executed falsely after the interrupt is processed. Do not prefix any of the above string

instructions with CMR.

Flag change instructions (AND CCR,#imm8, OR CCR,#imm8, POPW PS)

The instruction is executed normally, but the prefix affects the next instruction.

MOV ILM,#imm8

The instruction is executed normally, but the prefix affects the next instruction.

Flag Change Disable Prefix (NCC)

To disable flag changes, use the flag change disable prefix code (NCC). Placing NCC before an instruction

that suppresses unnecessary flag change disables flag changes associated with that instruction. Use the

following instructions with care:

String instructions (MOVS, MOVSW, SCEQ, SCWEQ, FILS, FILSW)

If an interrupt request occurs during execution of a string instruction with a prefix code, the prefix code

becomes invalid when the string instruction is resumed after the interrupt is processed. Thus, the string

instruction is executed incorrectly after the interrupt is processed. Do not prefix any of the above string

instructions with NCC.

Flag change instructions (AND CCR,#imm8, OR CCR,#imm8, POPW PS)

The instruction is executed normally, but the prefix affects the next instruction.

Interrupt instructions (INT #vct8, INT9, INT addr16, INTP addr24, RETI)

CCR changes according to the instruction specifications regardless of the prefix.

JCTX @A

CCR changes according to the instruction specifications regardless of the prefix.