EECS 362 – Presentation One

Slides:



Advertisements
Similar presentations
Chapter 5 The LC-3.
Advertisements

Lecture 5: MIPS Instruction Set
MIPS processor continued. Review Different parts in the processor should be connected appropriately to be able to carry out the functions. Connections.
ELEN 468 Advanced Logic Design
The University of Adelaide, School of Computer Science
Assembly Process. Machine Code Generation Assembling a program entails translating the assembly language into binary machine code This requires more than.
EECS 362 Group 2: Kevin Cheung Michael Glowacki Alex Romine Dave Sexton.
The Processor: Datapath & Control
1 Lecture 3a: Supplemental Notes for Chapter 3 CS 447 Jason Bakos.
CIS429.S00: Lec7- 1 Instruction Set Architectures (cont) History Addressing Modes --> Types of Instructions --> Encoding Instructions --> DLX Instruction.
Pentium Addressing Modes
QuadCore Team – DLX ISA David Bild Greg Bok Jake Czyz Brandon Keao.
Computer Engineering AddSub page 1 Basic Building Blocks Multiplexer + Demultiplexer Adder.
Module : Algorithmic state machines. Machine language Machine language is built up from discrete statements or instructions. On the processing architecture,
RISC Processor Design RISC Instruction Set Virendra Singh Indian Institute of Science Bangalore Lecture 8 SE-273: Processor Design.
Oct. 18, 2000Machine Organization1 Machine Organization (CS 570) Lecture 4: Pipelining * Jeremy R. Johnson Wed. Oct. 18, 2000 *This lecture was derived.
EE 3755 Datapath Presented by Dr. Alexander Skavantzos.
Chapter 2 — Instructions: Language of the Computer — 1 Conditional Operations Branch to a labeled instruction if a condition is true – Otherwise, continue.
The Assembly Process Computer Organization and Assembly Language: Module 10.
MicroComputer Engineering BranchProcCall page Addiu$t1 $r0 3 Addiu$t1 $t1 5 Addiu$t1 $t1 7 Example.
Elements of Datapath for the fetch and increment The first element we need: a memory unit to store the instructions of a program and supply instructions.
Datapath and Control AddressInstruction Memory Write Data Reg Addr Register File ALU Data Memory Address Write Data Read Data PC Read Data Read Data.
Oct. 11, 2000Machine Organization1 Machine Organization (CS 570) Lecture 3: Instruction Set Principles and Examples * Jeremy R. Johnson Wed. Oct. 11, 2000.
Computer Architecture & Operations I
Electrical and Computer Engineering University of Cyprus
Prof. Hsien-Hsin Sean Lee
Immediate Addressing Mode
Single-Cycle Datapath and Control
Example Addiu $t1 $r0 3 Addiu $t1 $t1 5 Addiu $t1 $t1 7.
Computer Organization and Design Instruction Sets - 2
Lecture 4: MIPS Instruction Set
ELEN 468 Advanced Logic Design
Computer Organization and Design Instruction Sets - 2
RISC Concepts, MIPS ISA Logic Design Tutorial 8.
Conditional Branches What distinguishes a computer from a simple calculator is its ability to make decisions Decisions are made using the if statement,
32-bit MIPS ISA.
Computer Science 210 Computer Organization
Design of the Control Unit for Single-Cycle Instruction Execution
MIPS processor continued
ADITI SHINDE CHIDAMBARAM ALAGAPPAN
Computer Organization and Design Instruction Sets
Designing MIPS Processor (Single-Cycle) Presentation G
Control Path Catholic University PUCRS.
CSCI206 - Computer Organization & Programming
Appendix A Classifying Instruction Set Architecture
Computer Science 210 Computer Organization
Lecture 4 Single Cycle Machine Prof. Xiaoyao Liang 2015/3/18
CS/COE0447 Computer Organization & Assembly Language
Design of the Control Unit for One-cycle Instruction Execution
CSCI206 - Computer Organization & Programming
MIPS Processor.
MIPS Instructions.
MIPS Instruction Encoding
The University of Adelaide, School of Computer Science
CSCI206 - Computer Organization & Programming
MIPS Instruction Encoding
Instruction encoding The ISA defines Format = Encoding
The Processor Lecture 3.2: Building a Datapath with Control
COMS 361 Computer Organization
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Flow of Control -- Conditional branch instructions
Basic Building Blocks Multiplexer Demultiplexer Adder +
The branch instruction
Basic Building Blocks Multiplexer Demultiplexer Adder +
Flow of Control -- Conditional branch instructions
MIPS processor continued
CS/COE0447 Computer Organization & Assembly Language
CS501 Advanced Computer Architecture
The Processor: Datapath & Control.
MIPS Processor.
Presentation transcript:

EECS 362 – Presentation One DLX Instruction Set: Jump/Branch

Available Instructions J-Type: bits 3-5 opcode; 6-31 offset J and JAL I-Type: bits 0-5 opcode; 6-10 rs; 11-15 rd; 16-31 immediate JR, JALR, BEQZ, BNEZ, BFPT, BFPF All jumps and branches have one instruction delay

Conditional Branches Instructions do not store return address information These branches cannot be used as a procedure call Target address sign extends 16-bit name field to 32-bit sign value Adds sign value to PC + 4 to get the next instruction

BEQZ & BNEZ Instructions may be based on the value in any GPR BEQZ branches when the source register is zero BNEZ branches when the source register is not equal to zero

BFPT & BFPF Instructions are based on the contents of the floating point status register, FPSR BFPT branches when FPSR contains ‘1’ or ‘true’ BFPF branches when FPSR contains ‘0’ or ‘false’

J & JR J branches are made by sign extending the 26-bit name field to the 32-bit signed value. Add to PC + 4. JR branch target addresses may be in GPRs J & JR do not attempt to store return address information

JAL & JALR JAL branches are made by sign extending the 26-bit name field to the 32-bit signed value. Add to PC + 4. JALR branch target addresses may be in GPRs Both place the address of the instruction after the delay slot (PC + 8) into GPR31 These can then be used for procedure calls