English
Language : 

HD6417706 Datasheet, PDF (192/709 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
7.2.11 Branch Source Register (BRSR)
BRSR is a 32-bit read register. BRSR stores the last fetched address before branch and the pointer
(3 bits) which indicates the number of cycles from fetch to execution for the last executed
instruction. BRSR has the flag bit that is set to 1 when branch occurs. This flag bit is cleared to 0,
when BRSR is read and also initialized by power-on resets or manual resets. Other bits are not
initialized by reset. Eight BRSR registers have queue structure and a stored register is shifted
every branch.
Bit
31
30 to 28
27 to 0
Bit Name
SVF
Initial Value R/W
0
R
PID2 to PID0 —
R
BSA27 to —
R
BSA0
Description
BRSR Valid Flag
Indicates whether the address and the pointer by
which the branch source address can be calculated.
When a branch source address is fetched, this flag
is set to 1. This flag is cleared to 0 in reading BRSR.
0: The value of BRSR register is invalid
1: The value of BRSR register is valid
Instruction Decode Pointer
PID is a 3-bit binary pointer (0 to 7). These bits
indicate the instruction buffer number which stores
the last executed instruction before branch.
Even: PID indicates the instruction buffer number.
Odd: PiD+2 indicates the instruction buffer number
Branch Source Address
These bits store the last fetched address before
branch.
Rev. 4.00, 03/04, page 146 of 660