Lecture_5 - ECE 445 Computer Organization Machine...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 445 – Computer Organization Machine Instructions
Image of page 1

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

View Full Document Right Arrow Icon
Decision Making Instructions
Image of page 2
Decision Making Instructions These include - Conditional Branch instructions - Unconditional Branch (Jump) instructions They affect the program flow - Continue program execution with next instruction. - Branch to new location in program and execute instruction at that location.
Image of page 3

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

View Full Document Right Arrow Icon
The Program Counter (PC)
Image of page 4
04/16/10 Chapter 4 — The Processor 5 A Portion of the MIPS Datapath 32-bit register Increment by 4 for next instruction Program Counter
Image of page 5

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

View Full Document Right Arrow Icon
ECE 445 - Computer Organization 6 Conditional Branch Instructions
Image of page 6
ECE 445 - Computer Organization 7 Conditional Branch Instructions High-Level Language instruction (C) if ( x == y ) f = g + h; else f = g - h; MIPS Assembly Language instructions beq Ra, Rb, Label bne Ra, Rb, Label Branch on Equal Branch on Not Equal registers address of instruction to branch to
Image of page 7

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

View Full Document Right Arrow Icon
ECE 445 - Computer Organization 8 Conditional Branch Instructions MIPS Assembly Language Instruction beq R1, R2, Label1 If true
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern