EasyManua.ls Logo

Renesas HD6417641 - Execution Times Break Register (BETR); Branch Source Register (BRSR)

Renesas HD6417641
1036 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 11 User Break Controller (UBC)
Rev. 4.00 Sep. 14, 2005 Page 254 of 982
REJ09B0023-0400
11.2.10 Execution Times Break Register (BETR)
BETR is a 16-bit readable/writable register. When the execution-times break condition of channel
B is enabled, this register specifies the number of execution times to make the break. The
maximum number is 2
12
– 1 times. When a break condition is satisfied, it decreases BETR. A
break is issued when the break condition is satisfied after BETR becomes H'0001.
Bit Bit Name
Initial
Value R/W Description
15 to 12 All 0 R Reserved
These bits are always read as 0. The write value
should always be 0.
11 to 0 BET11 to
BET0
All 0 R/W Number of Execution Times
11.2.11 Branch Source Register (BRSR)
BRSR is a 32-bit read-only register. BRSR stores bits 27 to 0 in the address of the branch source
instruction. BRSR has the flag bit that is set to 1 when a branch occurs. This flag bit is cleared to 0
when BRSR is read, the setting to enable PC trace is made, or BRSR is initialized by a power-on
reset. Other bits are not initialized by a power-on reset. The eight BRSR registers have a queue
structure and a stored register is shifted at every branch.
Bit Bit Name
Initial
Value R/W Description
31 SVF 0 R BRSR Valid Flag
Indicates whether the branch source address is stored.
When a branch source address is fetched, this flag is
set to 1. This flag is cleared to 0 by reading from
BRSR.
0: The value of BRSR register is invalid
1: The value of BRSR register is valid
30 to 28 All 0 R Reserved
These bits are always read as 0. The write value
should always be 0.
27 to 0 BSA27 to
BSA0
R Branch Source Address
Store bits 27 to 0 of the branch source address.

Table of Contents

Related product manuals