CHAPTER 21 ADDRESS MATCH DETECTION FUNCTION
21.1 Overview of the Address Match Detection Function
When an address matches the value set in the address detection register, the
instruction code to be read by the CPU is replaced with the INT9 instruction code
(01
). Consequently, the CPU executes the INT9 instruction when executing a
H
specified instruction. Program patching is enabled by processing the INT #9 interrupt
routine.
There are two address detection registers, each with an interrupt permission bit.
When an address matches the value set in the address detection register and the
interrupt permission bit is "1", the instruction code to be read by the CPU is replaced
with the INT9 instruction code.
■ Block Diagram of the Address Match Detection Function
Figure 21.1-1 Block Diagram of the Address Match Detection Function
2
F
MC-16LX bus
328
Address latch
Address detection
register
Permission bit
INT9
instruction
2
F
MC-16LX
CPU core