CSCE 2214 Lecture Notes - Lecture 8: Mips Technologies, Instruction Set, Mips Instruction Set

95 views4 pages

Document Summary

Lec 8 9-12-16 ch2 intsruction set / representation. Of binary numbers / 2"s complement / overflow. Words of a computer"s language are called instructions and the vocabulary is called and instruction set. Signed will use two"s complement and sign extension. Each bit carries a weight of where n is the digit place. Equivalent to taking the 1"s complement and adding 1 to the number. If we need to represent -5 we could do this using the. This number can be thought of as cannot be represented. Complement (turn 1 to 0 and 0 to 1) and add 1. With positive numbers simply keep extending the left side with 0"s. 2: 1110 = 1111 1110 extending the left side with 0"s. With negatives simply extend the left side with 1"s. In mips instruction set addi: extend immediate value lb, lh: extend loaded byte/halfword. Result of some arithmetic operation extends beyond the capacity of the representation.

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