CS 320 Unit 12 Other Modern Microarchitectures

CS 320 Unit 12 Other Modern Microarchitectures - CS 320...

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

View Full Document Right Arrow Icon
CS 320 Computer Architecture Unit 12 Other Modern Microarchitectures Spring 2008 Furman Haddix, Ph.D. Assistant Professor Minnesota State University, Mankato
Background image of page 1

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

View Full DocumentRight Arrow Icon
Unit 12 Objectives Addressing Modes Analysis of Other Modern Microarchitectures Mic-1 through Mic-4 (CISC) PIC UltraSPARC III Superscalar RISC picoJava CISC Embedded Controller Itanium Superscalar VLIW Comparison of Microarchitectures Overview Instruction Decoding Microinstruction Execution Text: Sns 2.1.6, 3.5, 4.6
Background image of page 2
Unit 12 Modern Microarchitectures 3 Addressing Modes Addressing modes specify where an operand is located. They can specify a constant, a register, or a memory location. The actual location of an operand is its effective address . Certain addressing modes allow us to determine the address of an operand dynamically.
Background image of page 3

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

View Full DocumentRight Arrow Icon
Unit 12 Modern Microarchitectures 4 Addressing Modes Immediate addressing means that the data is part of the instruction. Direct addressing means that the memory address of the data is given in the instruction. Register addressing, or Register direct addressing means that data is located in a register designated in the instruction. Indirect addressing means that the address of the address of the data is provided in the instruction. Register indirect addressing uses a register designated in the instruction to store the address of the data. In direct, indirect, and register indirect addressing, the address is usually given as an offset from the frame pointer.
Background image of page 4
Unit 12 Modern Microarchitectures 5 Addressing Indexed addressing uses a register (implicitly or explicitly) as an offset, which is added to the base address in the operand to determine the effective address of the data. Based addressing is similar except that a base register is used instead of an index register. The difference between these two is that an index register holds an offset relative to the address given in the instruction, a base register holds a base address where the address field represents a displacement from this base. Indexed based addressing is also similar except that both base and index are contained in registers. With this method, an offset and/or scaling may also be used, e.g., IA-32 (Pentium) SIB
Background image of page 5

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

View Full DocumentRight Arrow Icon
Unit 12 Modern Microarchitectures 6 Addressing In stack addressing the operand is assumed to be on top of the stack. There are many variations to the previous addressing modes including: Indirect indexed. Base/offset. Self-relative Auto increment - decrement. We won’t cover these in detail.
Background image of page 6
Unit 12 Modern Microarchitectures 7 Example: Given the below register (Ri) and memory values; give the values of the operand fetches to the side, assuming Pentium-type (index, base) addresses: 10 20 30 40 30 20 R0 R1 R2 R3 R4 R5 30 45 55 15 20 25 30 40 50 45 50 55 35 20 15 R6 R7 R8 R9 R10 R11 35 25 15 R15 R16 R17 P t Instructio n Address Type Addres s 1 Addres s 2 Retur n Value a. LOAD Immediate 5 b. LOAD Direct 5 c. LOAD Indirect 5 d. LOAD Register Direct 5 e. LOAD Register
Background image of page 7

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

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

This note was uploaded on 06/09/2008 for the course CS 320 taught by Professor Furmanhaddix during the Spring '08 term at Minnesota State University, Mankato.

Page1 / 38

CS 320 Unit 12 Other Modern Microarchitectures - CS 320...

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

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