899e3bad CArNew Last
899e3bad CArNew Last
Computer Organization
and Architecture
6th Edition
Chapter 10-11
Instruction Sets:
Addressing Modes and Formats
Instruction set
• Instruction set is key differentiation between different
processors (e.g. Intel x86 & Power PC)
—MIPS: All loads and stores 32 bits; Special instructions
exist for extracting bytes
—DEC Alpha: Instructions for loading and storing different
sizes
—Some arch. have predefined values e.g. 0, 1, etc.
—DEC Vax: Single instruction to load or store all registers
• High-level language constructs shape ISA
— Expr and assignment stmts
— Conditional stmts
— Loops
— Procedure calls
• Compiling high-level language constructs into efficient code
Instruction Set Design Goals (Genel)
Maximize
Performance
Minimize
Cost
Instruction Set Design (specific)
• time t0 t1 t2 t3 t4 t5 t6 t7 ....
• instruction1 IF1 ID1 EX1 MA1 WB1
• instruction2 IF2 ID2 EX2 MA2 WB2
• instruction3 IF3 ID3 EX3 MA3 WB3
• instruction4 IF4 ID4 EX4 MA4 WB4
• instruction5 IF5 ID5 EX5 MA5 WB5
51
Foreground Reading
• Processor examples
• Stallings Chapter 12
• Web pages etc.