Computer%20Architecture%20Notes%20Jan%2026,%202004 - PowerPoint PPT Presentation

About This Presentation
Title:

Computer%20Architecture%20Notes%20Jan%2026,%202004

Description:

Computer Architecture. Notes Jan 26, 2004. Dusan Kuzmanovic. Jimmy ... MAR1 PC. MDR 1 IM[MAR1] || PC PC 1. IR MDR 1. DECODER IR.OP. NOTE: JMP depending on ... – PowerPoint PPT presentation

Number of Views:25
Avg rating:3.0/5.0
Slides: 15
Provided by: John530
Learn more at: http://www.cs.ucf.edu
Category:

less

Transcript and Presenter's Notes

Title: Computer%20Architecture%20Notes%20Jan%2026,%202004


1
Computer ArchitectureNotes Jan 26, 2004
  • Dusan Kuzmanovic
  • Jimmy Ortegon

2
Machine Instruction Encoding
op
LOAD ltADDRgt
ltADDRgt
A
a
3
Three Address Format
15
0
op
ADD lt30gt, lt100gt, lt200gt
30
100
200
MEMORY
ALU
CPU
4
Two Address Format
op
LOAD R1, lt gt ADD lt gt, lt gt ADD R1, R2 ADD
lt30gt, lt100gt
30
100
MEMORY
ALU
CPU
5
One Address Format
op
ADD lt30gt
30
MEMORY
ALU
CPU
A
6
Register to Register Format
2 Register
ADD ltR1gt, ltR2gt
op
R1
R2
Second Operand
First Operand
3 Register
ADD ltR1gt, ltR2gt, ltR3gt
op
R1
R2
R3
Result
Second Operand
First Operand
7
Zero Address Architecture or Stack Architecture
SP Stack Memory
An stack memory
MEMORY
S T A C K

8
Zero Address Architecture or Stack Architecture
REGISTER MEMORY LOAD R1,A ADD R2,R1,B STORE R3, C
  • STACK
  • PUSH A
  • ADD
  • POP C

ACUMMULATOR LOAD A ADD B STORE C
LOAD R1,A LOAD R2,B ADD R3,R2,R1 STORE R3
LOAD/ STORE
9
Sun Sparc Load/ Store Architecture
  • INTEL PENTIUM
  • 2 ADDRESS FORMAT WITH OPERAND IN A REGISTER
    AND THE OTHER IN A REGISTER ON MEMORY

10
Harvard Architecture Mark-I First Machine
DM Data Memory IM Instruction Memory
11
Parallel Instruction Execution
PC
MAR 2
MAR 1
1
DM
IM
MULTIPLEXER
MDR 1
MDR 2
A
DECODER

OV
gt
lt

CONDITION CODES
12
Fetch
  • MAR1 ? PC
  • MDR 1 ? IMMAR1 PC ? PC 1
  • IR ? MDR 1
  • DECODER ? IR.OP
  • NOTE
  • JMP depending on lt gt
  • PC ? IR.ADDR

13
Load
  • MAR 2 ? IR.ADDR
  • MDR 2 ? DMMAR 2
  • A ? MDR 2

14
Add
  • MAR2 ? IR.ADDR MAR 1 ? PC
  • MDR2 ? DMMAR 2 MDR?IMMAR 1
  • A ? A MDR 2 IR ? MDR 1
Write a Comment
User Comments (0)
About PowerShow.com