DOC PREVIEW
SJSU CS 147 - Processor Types And Instruction Sets

This preview shows page 1-2-3-4-5-6 out of 18 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 18 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Processor Types And Instruction SetsISASystem as WholeSystem BusCPU & MemoryA Bit about Memory (no pun intended)CPU – 2 SectionsInterface between Data and Control UnitsFETCH-EXECUTE CYCLEControl unit & Data unit (datapath) again…Datapath - > Register fileALUThe ProcessInstruction Set3 Types of InstructionsProblemsExceptionCPU typesProcessor Types And Instruction SetsBarak PerelmanCS147 Prof. LeeISA•Instruction Set Architecture•All programmer accessible hardware & instructions for that hardwareSystem as Whole•CPU (Central Processing unit) interaction with main memory (its internal memory)•Input & OutputSystem Bus•CPU connected with main memory & I/O via System Bus•CPU – generates addresses placed on Address bus•Memory – receives addresses from Address bus•THIS PROCESS NEVER REVERSEDCPU & Memory•Since CPU executes instructions, and all instructions/data stored in Memory. Instructions/data must be loaded to CPU registers, and results stored back in Memory.A Bit about Memory (no pun intended)•Memory is a collection of consecutive cells = 1 byte (8 bits)•Each cell has address/memory location•Group of cells = WORD usually 4 Bytes•Convention: WORD accessed by referencing byte with lowest byte•Computers memory is an “array” of bytesCPU – 2 Sections•1. Data Section – Registers & ALU•2. Control Section – interprets instructions and controls register transfers – executes instructions stored in main memoryInterface between Data and Control Units•Register 1: Program Counter (PC) or IP (“Instruction Pointer” in IA) – address of instruction executed•Register 2: Instruction register (IR) – fetched instruction (PC pointed) stored in IR and interpretedFETCH-EXECUTE CYCLE1. Fetch next instruc. To be exec. from memory2. Decode operation code3. Read operand(s) from main memory if any4. Exec. Instruc. and store results if any5. Go step 1Control unit & Data unit (datapath) again…•Control unit – decodes instruction after fetch, and performs specific action. Coordinates this in execution of program.•Datapath – Collection of registers (register file) , arithmetic and logic unit, and other registers.Datapath - > Register file•Register file – used like temporary “memory” during computation. •Can be many register files (depend on CPU). Each has own address (in sequence, like main memory, but with much smaller addresses –ex: 32 register file uses 5-bit address’).•Register file in CPU (much faster than system memory: ~10X’s-100X’s)ALU•Implements variety binary (2-operand) and unary (one-operand) operations (ex: add, and, not, or, multiply)The Process•Control Unit selects operands+operations according to executable instruction•The two source operands fetched from register file onto Register Source Buses to ALU•Output from ALU goes on Register Destination Bus, back to register file•Most systems include System Bus in this process (access memory and devices)Instruction Set•Collection of instructions that a processor can execute <-therefore defining the processor3 Types of Instructions1. Data – move data between CPU and memory or I/O 2. Arithmetic (logic) – arithmetic + logic operations on data3. Control – transfer control from one section to anotherProblems•Incompatibility of instruction setsSolutions•Higher-level languages recompiled for target processorException•JAVA byte code actual machine language for virtual machine. Therefore will run on any processor running JVM (Java Virtual Machine)CPU types•IBM PC (or compatible) use instruction set 80x86 CPU (where ‘x’ replaced w/digit of version. Example: 80586 aka Pentium processor) (*also need to consider differences in in operating systems and I/O)•Sun Microsystem


View Full Document

SJSU CS 147 - Processor Types And Instruction Sets

Documents in this Course
Cache

Cache

24 pages

Memory

Memory

54 pages

Memory

Memory

70 pages

Lecture 1

Lecture 1

53 pages

Cisc

Cisc

18 pages

Quiz 1

Quiz 1

4 pages

LECTURE 2

LECTURE 2

66 pages

RISC

RISC

40 pages

LECTURE 2

LECTURE 2

66 pages

Lecture 2

Lecture 2

67 pages

Lecture1

Lecture1

53 pages

Chapter 5

Chapter 5

14 pages

Memory

Memory

27 pages

Counters

Counters

62 pages

Load more
Download Processor Types And Instruction Sets
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Processor Types And Instruction Sets and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Processor Types And Instruction Sets 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?