540 likes | 923 Views
د. بســام كحـالــه Dr. Bassam Kahhaleh. 22444. Computer Architecture & Organization (1). “ Mano ” Chapter 4:. 22444 - Computer Architecture & Organization (1). Register Transfer & Microoperations. Micro-Operations.
E N D
د. بســام كحـالــه Dr. Bassam Kahhaleh 22444 Computer Architecture&Organization (1)
“Mano” Chapter 4: 22444 - Computer Architecture & Organization (1) Register Transfer & Microoperations
Micro-Operations A micro-operation is an elementary operation, performed during one clock pulse, on the information stored in one or more registers. R1 ← R1 + R2
Register Designation • Whole register • Portion of a register • One bit in a register
Parallel Register Transfer • Unconditional R1 ← R2 • Conditional P: R1 ← R2 • Simultaneous R1 ← R2 , R3 ← R2
Bus Transfer R2 ← RA R1 ← RD Consider: Ri ← Rx where i = 0, 1, 2 or 3 x = A, B, C or D
Micro-Operation Types • Data Transfer • Arithmetic Operations • Logic Operations • Shift Operations
Micro-Operation Types • Data Transfer • Arithmetic Operations S = A + B • Logic Operations • Shift Operations
Addition S = A + B Time (Propagation) delay = ?
Addition S = A + B t = 0 Time (Propagation) delay = ?
Addition S = A + B t = t Time (Propagation) delay = ?
Addition S = A + B t = 2t Time (Propagation) delay = ?
Addition S = A + B t = 3t Time (Propagation) delay = ?
Addition S = A + B t = 4t Time (Propagation) delay = 4 t
Addition A ← A + B Flag
Subtraction A ← A⎯B _ A ← A + ( B + 1 )
Increment A ← A + 1
Decrement A ← A⎯ 1
Arithmetic Data Control
Micro-Operation Types • Data Transfer • Arithmetic Operations • Logic Operations • Shift Operations AND: S = AΛB OR: S = A V B XOR: S = AB AND: S = A • B OR: S = A + B XOR: S = AB
Logic Data Control
Micro-Operation Types • Data Transfer • Arithmetic Operations • Logic Operations • Shift Operations • Logical Shift shl A shr A • Arithmetic Shift ashl A ashr A • Circular Shift cil A cir A
Chapter 4 4-1 4-2 4-3 4-4 4-5 4-6 4-8 4-9 4-10 4-11 4-13 4-15 4-16 4-17 Homework
Homework • Mano