Lec2-isa - EEL-4713C Ann Gordon-Ross EEL-4713C Computer...

Info iconThis preview shows pages 1–4. 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: EEL-4713C Ann Gordon-Ross EEL-4713C Computer Architecture Instruction Set Architectures EEL-4713C Ann Gordon-Ross Outline Instruction set architectures The MIPS instruction set Operands and operations Control flow Memory addressing Procedures and register conventions Pseudo-instructions Reading: Textbook, Chapter 2 Sections 2.1-2.8, 2.10-2.13, 2.17-2.20 EEL-4713C Ann Gordon-Ross Abstraction layers Devices (CMOS transistors) High-level language (e.g. C++, Java) Low-level language (Assembly) Register-level transfer (Datapath) Basic logic gates (AND, OR) Software Hardware User EEL-4713C Ann Gordon-Ross Introduction to Instruction Sets Instructions: words of computer hardwares language Instruction sets: vocabulary What is available for software to program a computer Many sets exist; core functionality is similar Support for arithmetic/logic operations, data flow and control We will focus on the MIPS set in class Simple to learn and to implement Hardware perspective will be the topic of Chapter 5 Current focus will be on software, more specifically instructions that result from compiling programs written in the C language EEL-4713C Ann Gordon-Ross Stored-program concept Treat instructions as data Same technology used for both EEL-4713C Ann Gordon-Ross Stored-program execution flow Instruction Fetch Instruction Decode Operand Fetch Execute Result Store Next Instruction Obtain instruction from program storage Determine required actions and instruction size Locate and obtain operand data Compute result value or status Deposit results in storage for later use Determine successor instruction EEL-4713C Ann Gordon-Ross Basic issues and outline What operations are supported? What operands do they use? How are instructions represented in memory? How are data elements represented in memory? How is memory referenced? How to determine the next instruction in sequence? EEL-4713C Ann Gordon-Ross What operations are supported? Classic instruction sets: Typical integer arithmetic and logic functions: Addition, subtraction Division, multiplication AND, OR, NOT, Floating-point operations Add, sub, mult, div, square root, exponential, More recent add-ons: Multi-media, 3D operations EEL-4713C Ann Gordon-Ross MIPS operations See MIPS reference chart (green page of textbook) for full set of operations Most common: addition and subtraction MIPS assembly: add rd, rs, rt register rd holds the sum of values currently in registers rs and rt EEL-4713C Ann Gordon-Ross Operands In MIPS, operands for arithmetic and logic operations always come from registers Other sets (e.g. Intel IA-32/x86) support memory operands Registers: fast memory within the processor datapath Goal is to be accessible within a clock cycle How many?...
View Full Document

This note was uploaded on 01/09/2012 for the course EEL 4713 taught by Professor Staff during the Spring '11 term at University of Florida.

Page1 / 14

Lec2-isa - EEL-4713C Ann Gordon-Ross EEL-4713C Computer...

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

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