
29
μ
PD17145(A1), 17147(A1), 17149(A1)
Figure 10-1. Configuration of ALU Block
ALU
7EH
7FH
Program status word
(PSWORD)
b
0
b
3
b
2
b
1
b
0
BCD
CMP
CY
Z
IXE
BCD
flag
FF
CMP
flag
FF
CY
flag
FF
Z
flag
FF
Data bus
Status flip-flop
Temporary register
B
Temporary register
A
Arithmetic operation
Logical operation
Bit judgment
Compare judgment
Rotation processing
Decimal adjustment
circuit
Address
Name
Bit
Flag
Status flip-flop
Functional Outline
Indicates that result of arithmetic operation is 0.
Stores carry or borrow resulting from arithmetic
operation.
Specifies whether result of arithmetic operation
is stored.
Specifies whether decimal adjustment is
performed when arithmetic operation is executed.