580 likes | 741 Vues
د. بســام كحـالــه Dr. Bassam Kahhaleh. 4343. Computer Organization & Design. Chapter 4:. 4343 - Computer Organization & Design. Register Transfer & Microoperations. Micro-Operations.
E N D
د. بســام كحـالــه Dr. Bassam Kahhaleh 4343 Computer Organization & Design
Chapter 4: 4343 - Computer Organization & Design 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
Computer Organization The organization of a digital computer is best defined by specifying: • The set of registers it contains and their function • The sequence of micro-operations performed on the binary information stored in the registers • The control functions that initiate the sequence of micro-operations
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
Serial Register Transfer S: A i ← A i – 1 , A 0 ← 0 i = 1, 2, 3
Memory Transfer MBR ← M M ← MBR
Memory Transfer MBR ← M MBR ← M [ R1 ]
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 EA ← A + B Flag
Subtraction A ← A–B _ A ← A + ( B + 1 )
Increment A ← A + 1
Decrement A ← A– 1
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
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
Homework 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 • Mano