Lecture_4 - ECE 445 Computer Organization Machine...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 445 – Computer Organization Machine Instructions
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Arithmetic and Logic Instructions
Background image of page 2
ECE 445 - Computer Organization 3 Simplified MIPS Datapath
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECE 445 - Computer Organization 4 R-Format Instructions Read two register operands Perform arithmetic/logical operation Write register result
Background image of page 4
ECE 445 - Computer Organization 5 Simplified Datapath for the R-format Instructions Control Unit instruction control signals
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECE 445 - Computer Organization 6 Add Operation with Register Operands Example: a = b + c; (HLL) - Assume the following compiler assignments: b → $s0 c → $s1 a → $t0 - Resulting MIPS Assembly Instruction add $t0, $s0, $s1 - Given: b = 7, c = 5 rs rt rd
Background image of page 6
ECE 445 - Computer Organization 7 Add Operation with Register Operands [31. .0] [25. .21] [20. .16] [15. .11] rs rt rd Control Unit [31. .26] control signals
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECE 445 - Computer Organization 8 Add Operation with Register Operands add $t0, $s0, $s1 $s0 $s1 $t0 add 7 5 12 Control Unit opcode control signals
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/15/2010 for the course ECE 445 taught by Professor Tabak,d during the Spring '08 term at George Mason.

Page1 / 19

Lecture_4 - ECE 445 Computer Organization Machine...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online