Date post: | 13-Dec-2015 |
Category: |
Documents |
Upload: | olivia-reynolds |
View: | 215 times |
Download: | 1 times |
Computer Architecture Parhami 2Copyright 2005 by Oxford University Press, Inc.
Table 8.1 Examples of complex instructions in two popular modern microprocessors (Pentium, PowerPC) and two computer families of historical significance (System/360–370, VAX).
8.1 Complex instructions
Computer Architecture Parhami 3Copyright 2005 by Oxford University Press, Inc.
• Implied : 0-address, stack machine, inc, dec, ...• Immediate addressing : 運算元 (常數 )在指令中• Register addressing : 運算元為 reg.• Base addressing: base + offset• Relative addressing: PC-relative, the reference
address is implicit.• Direct addressing:指令中的數字是運算元的地址• Indexed addressing: 用 reg.當索引• Update addressing: reg.自動 +1, -1 • Indirect addressing:先去記憶體拿運算元的地址,再拿一次才是運算元
8.2 Alternative addressing mode
Computer Architecture Parhami 4Copyright 2005 by Oxford University Press, Inc.
Figure 8.1 Schematic representation of more elaborate addressing modes not supported in MiniMIPS.
Computer Architecture Parhami 5Copyright 2005 by Oxford University Press, Inc.
Figure 8.2 Examples of MiniMIPS instructions with 0 to 3 addresses; shaded fields are unused.
8.2 Alternative instruction formats
Computer Architecture Parhami 6Copyright 2005 by Oxford University Press, Inc.
Figure 8.3 Example 80x86 instructions ranging in width from 1 to 6 bytes; much wider instructions (up to 15 bytes) also exist.
Computer Architecture Parhami 7Copyright 2005 by Oxford University Press, Inc.
Figure 8.4 Processor design and implementation process.
8.4 instruction set design and evolution
Computer Architecture Parhami 8Copyright 2005 by Oxford University Press, Inc.
Table 8.2 Evolution of the x86 instruction set and architecture in some of the Intel microprocessors, and comparable products from AMD.
Computer Architecture Parhami 9Copyright 2005 by Oxford University Press, Inc.
• RISC:– Small instruction set– Load/Store architecture– Limited addressing modes– Simple uniform instruction formats
8.5 The RISC/CISC Dichotomy