CHAPTER 3 CPU
●
Delay of the effect of prefix codes
As shown in Figure 3.9-2, if a prefix code is placed before an interrupt/hold suppression instruction, the
prefix code takes effect with the first instruction executed after the interrupt/hold suppression instruction.
Figure 3.9-2 Interrupt/hold Suppression Instructions and Prefix Codes
Interrupt suppression instructions
...
MOV A, FFH
NCC
MOV ILM, #imm8
ADD A, 01H
CCR: XXX10XX
B
CCR: XXX10XX
B
CCR is not changed due to NCC prefix
■ Consecutive Prefix Codes
As shown in Figure 3.9-3, when consecutive conflicting prefix codes (PCB, ADB, DTB and SPB) are
specified, the last prefix code is valid.
Figure 3.9-3 Consecutive Prefix Codes
Prefix codes
......
......
ADB
DTB
PCB
ADD A, 01H
↑
The PCB prefix code is valid
63