Lec2 - ISA Chapter 1.7 (CD) MIPS Chapter 2 HW/SW facts...

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

View Full Document Right Arrow Icon
ISA – Chapter 1.7 (CD) MIPS – Chapter 2
Background image of page 1

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

View Full DocumentRight Arrow Icon
HW/SW facts Large hardware structures More expensive (yield, #dies per wafer) Slower to use each time (phone book) + Holds more Large instruction size More memory required Each one is slower + Each one does more + Fewer instructions per program Processor fast … Memory slow
Background image of page 2
Stack Memory Processor . . . . . . TOS ALU Source1 ALU Source 2 (if different from dest) ALU dest D = A * B + C “Stack” is internal to the processor. ALU operates on top two stack items •Remove two top values •Place result on the top of the stack Memory operation: RPN calculators are stack machines Java JVM is stack-based
Background image of page 3

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

View Full DocumentRight Arrow Icon
Accumulator D = A * B + C Memory Processor . . . . . . Only one register Memory Operations: one operand of alu operations ALU Source1 ALU Source 2 (if different from dest) ALU dest
Background image of page 4
Register (register-memory) D = A * B + C
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/27/2011 for the course CMPSC 154 taught by Professor Franklin during the Fall '09 term at UCSB.

Page1 / 12

Lec2 - ISA Chapter 1.7 (CD) MIPS Chapter 2 HW/SW facts...

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

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