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+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents