
eZ8
™
CPU Core
User Manual
UM012820-0810 Architectural Overview
9
Arithmetic Logic Unit
The Arithmetic Logic Unit (ALU) performs arithmetic and logical opera-
tions on the data. The arithmetic operations include addition, subtraction,
and multiplication. The logical functions include binary logic operations,
bit shifting, and bit rotation.
0110 6 Z Zero Z = 1
0110 6 EQ Equal Z = 1
0111 7 C Carry C = 1
0111 7 ULT Unsigned Less Than C = 1
1000 8 T (or blank) Always True –
1001 9 GE Greater Than or Equal (S XOR V) = 0
1010 A GT Greater Than (Z OR (S XOR V)) = 0
1011 B UGT Unsigned Greater Than (C = 0 AND Z = 0)
1100 C NOV No Overflow V = 0
1101 D PL Plus S = 0
1110 E NZ Non-Zero Z = 0
1110 E NE Not Equal Z = 0
1111 F NC No Carry C = 0
1111 F UGE Unsigned Greater Than or
Equal
C = 0
Table 2. Condition Codes (Continued)
Binary Hex
Assembly
Mnemonic Definition Flag Test Operation
Comentarios a estos manuales