CSCE 2214 Lecture Notes - Lecture 14: Program Counter, Instruction Set

22 views3 pages

Document Summary

Lec 14 9-26-16 ch2 loop statements / branch. While (save[i] ==k) i+=1; i is going to be , k is going to be , and the base address of save is going to be in . Loop: sll , , 2 add , , lw , 0() bne , , exit #leaves the loop addi , , 1 j loop. The hardware for testing for less than, and greater than or equal to is slower than the simply testing for equal to and not equal to. A whole instruction would require the testing of

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents