English
Language : 

SH7032 Datasheet, PDF (118/687 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 6 User Break Controller (UBC)
6.3.2 Break on Instruction Fetch Cycles to On-Chip Memory
On-chip memory (on-chip ROM (SH7034 only) and RAM) is always accessed 32 bits each bus
cycle. Two instructions are therefore fetched in a bus cycle from on-chip memory . Although only
a single bus cycle occurs for the two-instruction fetch, a break can be set on either instruction by
placing the corresponding address in the break address registers (BAR). In other words, to break
the second of the two instructions fetched, set its start address in the BAR. The break will then
occur after the first instruction executes.
6.3.3 Program Counter (PC) Value Saved in User Break Interrupt Exception Processing
Break on Instruction Fetch: The program counter (PC) value saved in user break interrupt
exception processing for an instruction fetch is the address set as the break condition. The user
break interrupt is generated before the fetched instruction is executed. If a break condition is set on
the fetch cycle of a delayed slot instruction immediately following a delayed branch instruction or
on the fetch cycle of an instruction that follows an interrupt-disabling instruction, however, the
user break interrupt is not accepted immediately, so the instruction is executed. The user break
interrupt is not accepted until immediately after that instruction. The PC value that will be saved is
the start address of the next instruction that is able to accept the interrupt.
Break on Data Access (CPU/DMAC): The program counter (PC) value is the top address of the
next instruction after the last executed instruction at the time when the user break exception
processing is activated. When data access (CPU/DMAC) is set as a break condition, the place
where the break will occur cannot be specified exactly. The break will occur at the instruction
fetched close to where the data access that is to receive the break occurs.
Rev. 7.00 Jan 31, 2006 page 92 of 658
REJ09B0272-0700