Encodings Flashcards
In general, a sequence or group of k bits can represent one of ______ distinct k-bit patterns
2k
In order for groups of bits to have an meaning (aka store data), what needs to happen?
As notation, when there is a sequence of bits, the highest and lowest order bits are called _________?
Highest order bit = most significant bit (msb)
Lowest order bit = least significant bit
178
What are the two ways to perform this encode?
In general, how does unisigned integer arithmetic work?
that last bit goes into the condition code register, which tells you about this lost bit; overflow
What are the 3 different encoding methods for signed numbers?
- Sign magnitude representation
- 1’s complement representation
- 2’s complement representation
Modern day computers use 2’s complement representation for signed numbers
In general, what is Sign Magnitude Representation?
In general, how does One’s complement representation work?
Using One’s compliment
In general, What is two’s complement representation?
What are some of the advantages of Two’s Completement Representation?