Section 20 User Break Controller (UBC)
SH7751 Group, SH7751R Group
Page 798 of 1128
R01UH0457EJ0301 Rev. 3.01
Sep 24, 2013
20.2
Register Descriptions
20.2.1
Access to UBC Registers
The access size must be the same as the control register size. If the sizes are different, a write will
not be effected in a UBC register write operation, and a read operation will return an undefined
value. UBC register contents cannot be transferred to a floating-point register using a floating-
point memory load instruction.
When a UBC register is updated, use either of the following methods to make the updated value
valid:
1. Execute an RTE instruction after the memory store instruction that updated the register. The
updated value will be valid from the RTE instruction jump destination onward.
2. Execute instructions requiring 5 states for execution after the memory store instruction that
updated the register. As the CPU executes two instructions in parallel and a minimum of 0.5
state is required for execution of one instruction, 11 instructions must be inserted. The updated
value will be valid from the 6th state onward.