











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Notes for Advanced Computer Architecture
Typology: Lecture notes
1 / 19
This page cannot be seen from the preview
Don't miss anything!












2 Advance Computer Architecture
4 Advance Computer Architecture
(^) Register (^) Immediate (^) Displacement
(^) 8 bit, 16 bit …
(^) Data transfer (^) Arithmetic logical (^) Control (^) Floating point
5 Advance Computer Architecture
(^) Conditional branches, unconditional jumps, Procedure calls (^) MIPS test contents of registers for conditional branches (^) 80x86 and ARM test condition code bits
(^) Fixed length (simplifies instruction decoding) (^) Variable length (less space)
7 Advance Computer Architecture
(^) 1 Hz = 1 cycle/sec 1 KHz = 10^3 cycles/sec (^) 1 MHz = 10^6 cycles/sec 1 GHz = 10^9 cycles/sec (^) 2 GHz clock has a cycle time = 1/(2×10^9 ) = 0.5 nanosecond (ns) Cycle 1 Cycle 2 Cycle 3
8 Advance Computer Architecture
(^) Registers are high speed memory inside the CPU (^) Eight 32-bit general-purpose registers (^) Six 16-bit segment registers (^) Processor Status Flags (EFLAGS) and Instruction Pointer (EIP) CS SS DS ES EIP EFLAGS 16-bit Segment Registers EAX EBX ECX EDX 32-bit General-Purpose Registers FS GS EBP ESP ESI EDI
10 Advance Computer Architecture
(^) EAX, EBX, ECX, and EDX are 32-bit Extended registers (^) Programmers can access their 16-bit and 8-bit parts (^) Lower 16-bit of EAX is named AX (^) AX is further divided into (^) AL = lower 8 bits (^) AH = upper 8 bits (^) ESI, EDI, EBP, ESP have only 16-bit names for lower half
11 Advance Computer Architecture
(^) Status Flags (^) Status of arithmetic and logical operations (^) Control and System flags (^) Control the CPU operation (^) Programs can set and clear individual bits in the EFLAGS register
13 Advance Computer Architecture
I2 I3 I PC (^) program I instruction register op op memory fetch ALU registers write decode execute read write (output) registers flags I...
14 Advance Computer Architecture
(^) Instructions are all 32 bits (^) byte(8 bits), halfword (2 bytes), word ( bytes) (^) a character requires 1 byte of storage (^) an integer requires 1 word (4 bytes) of storage
(^) 32 general purpose registers (^) register preceded by $ in assembly language instruction (^) two formats for addressing: (^) using register number e.g. $0 through $
16 Advance Computer Architecture
6..
11..
16
16
16..
17 Advance Computer Architecture
(^) Memory reference (^) ALUOutput A + Imm (^) Register - Register ALU instruction (^) ALUOutput A func B (^) Register - Immediate ALU instruction (^) ALUOutput A op Imm (^) Branch (^) ALUOutput NPC + Imm; Cond (A op
19 Advance Computer Architecture
(^) Register - register ALU instruction (^) Regs[IR 16..20]^ ALUOutput (^) Register - immediate ALU instruction (^) Regs[IR 11..15]^ ALUOutput (^) Load instruction Regs[IR11..15] LMD