h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 56
h8s-2172
Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.H8S-2172.pdf
(570 pages)
- Current page: 56 of 570
- Download datasheet (5Mb)
2.4.4
This 8-bit register contains internal CPU status information, including an interrupt mask bit (I) and
half-carry (H), negative (N), zero (Z), overflow (V), and carry (C) flags.
Operations can be performed on the CCR bits by the LDC, STC, ANDC, ORC, and XORC
instructions. The N, Z, V, and C flags are used as branching conditions for conditional branch
(Bcc) instructions.
Rev. 2.00, 03/04, page 24 of 534
Bit
7
6
5
4
3
2
1
Bit Name
I
UI
H
U
N
Z
V
Condition-Code Register (CCR)
Initial
Value
1
Undefined R/W
Undefined R/W
Undefined R/W
Undefined R/W
Undefined R/W
Undefined R/W
R/W
R/W
Description
Interrupt Mask Bit
Masks interrupts other than NMI when set to 1. NMI is
accepted regardless of the I bit setting. The I bit is set to
1 at the start of an exception-handling sequence. For
details, refer to section 5, Interrupt Controller.
Can be written to and read from by software using the
LDC, STC, ANDC, ORC, and XORC instructions.
When the ADD.B, ADDX.B, SUB.B, SUBX.B, CMP.B or
NEG.B instruction is executed, this flag is set to 1 if there
is a carry or borrow at bit 3, and cleared to 0 otherwise.
When the ADD.W, SUB.W, CMP.W, or NEG.W
instruction is executed, the H flag is set to 1 if there is a
carry or borrow at bit 11, and cleared to 0 otherwise.
When the ADD.L, SUB.L, CMP.L, or NEG.L instruction is
executed, the H flag is set to 1 if there is a carry or
borrow at bit 27, and cleared to 0 otherwise.
Can be written to and read from by software using the
LDC, STC, ANDC, ORC, and XORC instructions.
Negative Flag
Stores the value of the most significant bit of data as a
sign bit.
Zero Flag
Set to 1 to indicate zero data, and cleared to 0 to indicate
non-zero data.
Overflow Flag
Set to 1 when an arithmetic overflow occurs, and cleared
to 0 otherwise.
User Bit or Interrupt Mask Bit
Half-Carry Flag
User Bit
Related parts for h8s-2172
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas Starter Kit for RX210
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas StarterKit for RX630
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit+ for RX63N
Manufacturer:
Renesas Electronics Corporation.