Professional Documents
Culture Documents
Cpps
Cpps
Computer
Processor
Datapath Control
Components of the Component of the
processor that processor that
perform arithmetic commands the
operations and datapath, memory,
holds data I/O devices
according to the
instructions of the
memory
Micro operations
• Elementary operation performed with the data stored in registers
• 4 categories
• Register transfer micro operation
• Arithmetic micro operation
• Logic micro operation
• Shift micro operation
Arithmetic Microoperations
• Full adder: The digital circuit that forms the arithmetic sum of two bits
and a previous carry is called a full-adder.
• Binary adder: The digital circuit that generates the arithmetic sum of two
binary numbers of any length is called a binary adder.
4-bit binary adder
Input : n data bits for the A inputs come from one register (such as R1)
and n data bits for the B inputs come from another register (Such as R2).
The sum can be transferred to a third register or to one of the source
registers (R1 or R2)
Output: S0 S1 S2 S3 C4(carry)
Binary Adder-Subtractor
1 8 23
double precision
S E Mantissa
1 11 52