Download Print this page

Hitachi H8/300L Series Manual page 30

Single-chip microcomputer
Hide thumbs

Advertisement

Table of Contents
CPU
Bit 4 (U):
User bit
This bit can be read and written by user software using the LCD, STC, ANDC,
ORC, and XORC instructions.
Bit 3 (N):
Negative flag
This bit indicates the most significant bit (the sign bit) of the result of an
instruction.
Bit 2 (Z):
Zero flag
This bit is set to 1 to indicate a zero result and cleared to 0 to indicate a non-zero
result.
Bit 1 (V):
Overflow flag
This bit is set to 1 when an arithmetic overflow occurs and cleared to 0 when no
overflow occurs during an arithmetic operation.
Bit 0 (C):
Carry flag
This bit is set to 1 when a carry occurs and cleared to 0 when no carry occurs.
A carry can occur due to a carry from an add instruction, a borrow from a subtract
instruction, or a shift or rotate instruction.
The carry flag also has a bit accumulator function that is used by bit operation and
bit transfer instructions.
30

Advertisement

Table of Contents
loading

  Also See for Hitachi H8/300L Series

  Related Manuals for Hitachi H8/300L Series