Lecture 11-13 - Lecture 11-13 – – • Announcements –...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: Lecture 11-13 – 9/20/10 – 9/24/10 • Announcements – Hwk 4 due Friday at Discussion; max 1 day late – Test #1 Sept. 29 th BEL 328 5:45 -7PM through Lecture 10 – We’ll use the class period on the 29 th for review – If you contact me ahead of time I can hold additional office hours • Last Week – FSMs, Representation • This Week (P&P 4 &%) – The Von Neumann Model – LC-3 ISA • Next Week – More LC-3 ISA CS310 Fall 2010 - Boral What’s Next? • So far: – Hardware building blocks – Data representation • Next up: The Instruction Set Architecture – The interface between the programmer & the hardware • Followed by: The micro-architecture – How we use the hardware building blocks from the first section of the course to execute programs expressed in the ISA CS310 Fall 2010 - Boral The Von Neumann Model Control Unit Memory Processing Unit Input • Keyboard • Microphone • Scanner Output • Display • Printer • Disk drive IR PC MDR MAR Reg File ALU CS310 Fall 2010 - Boral P&P: Figure 4.3 Program Execution • Program is an ordered collection of instructions • The processor executes one instruction at a time • The instruction cycle: 1. FETCH INSTRUCTION 2. DECODE 3. EVALUATE ADDRESS 4. FETCH OPERANDS 5. EXECUTE 6. STORE RESULT • All instructions require steps 1 & 2 – But not necessarily all the rest CS310 Fall 2010 - Boral Instruction Storage • Address vs. Addressability – 16 bit address means there are 2 16 = 64K locations – Doesn’t say anything about the size of the stored object • Byte addressability vs. Word addressability • Memory holds programs as well as data (Bits Are Bits) – Implies some additional structure • What’s a program? – C = A + B; LDR R2, R3, 6 0110 0100 1100 0110 0x64C6 Load A LDR R4, R3, 7 0110 1000 1100 0111 0x68C7 Load B ADD R5, R2, R4 0001 1010 1000 0100 0x1A84 Add STR R5, R3, 5 0111 1010 1100 0101 0x7AC5 Store C – Assembler produces binary from text CS310 Fall 2010 - Boral LC-3 Instruction Set Architecture • ISA is the interface between software and hardware – Provides the programmer with a specification of available resources,...
View Full Document

This note was uploaded on 11/30/2010 for the course CS 310 taught by Professor Fussell during the Spring '08 term at University of Texas.

Page1 / 15

Lecture 11-13 - Lecture 11-13 – – • Announcements –...

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

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