36
CHAPTER 3 CPU AND CONTROL UNITS
[bit1] V: Overflow flag
This flag indicates whether an operand using the operation regarded as an integer represented in two's
complement has resulted in an overflow.
The initial state after a reset is indeterminate.
[bit0] C: Carry flag
This flag indicates whether an operation has generated a carry or borrow from the MSB.
The initial state after a reset is indeterminate.
●
SCR (System Condition code Register)
[bit10, bit9] D1, D0: Step division flag
This flag holds intermediate data during execution of step division.
Do not update the content of this flag during execution of the division process.
To execute another process during execution of step division, save and return the values in the PS register
so that the step division can be resumed correctly.
The initial state after a reset is indeterminate.
The flag is set by executing the DIV0S instruction to refer the dividend and divisor.
The flag is forced to be cleared by executing the DIV0U instruction.
[bit8] T: Step trace trap flag
This flag enables or disables step trace traps.
This bit is initialized to "0" at a reset.
The step trace trap function is used by the emulator. When it is being used by the emulator, it cannot be
used in the user program.
Value
Description
0
Indicates that the operation has resulted in no overflow.
1
Indicates that the operation has resulted in an overflow.
Value
Description
0
Indicates that the operation has generated neither a carry nor borrow.
1
Indicates that the operation has generated a carry or borrow.
10
9
8
[Initial value]
D1
D0
T
XX0
B
Value
Description
0
Disables step trace traps.
1
Enables step trace traps.
This disables all of user NMIs and user interrupts.
Summary of Contents for FR60Lite
Page 3: ......
Page 5: ......
Page 115: ...100 CHAPTER 3 CPU AND CONTROL UNITS ...
Page 127: ...112 CHAPTER 4 I O PORTS ...
Page 143: ...128 CHAPTER 5 INTERRUPT CONTROLLER ...
Page 155: ...140 CHAPTER 6 EXTERNAL INTERRUPT AND NMI CONTROLLER ...
Page 197: ...182 CHAPTER 9 PPG Programmable Pulse Generator ...
Page 337: ...322 CHAPTER 13 UART ...
Page 417: ...402 CHAPTER 16 DMAC DMA Controller ...
Page 445: ...430 CHAPTER 17 FLASH MEMORY ...
Page 451: ...436 CHAPTER 18 SERIAL PROGRAMMING CONNECTION ...
Page 493: ...478 APPENDIX F Precautions on Handling ...
Page 494: ...479 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 507: ...492 INDEX ...
Page 509: ......