Please enable JavaScript.
Coggle requires JavaScript to display documents.
Lec 3 - Number Systems & Memory Formats (basic struc. (BIT - a machine…
Lec 3 - Number Systems & Memory Formats
Overflow are number operation results that cannot be represented by hardware bits
sign and magnitude repres. : add 1 bit for sign
shortcomings: indecision to which side to place it, extra step to add signs, neg. zero
signed numbers: leading 0 means +ve, leading 1s -ve
two's complement: convention for signed nos.
bit vocab.
most significant bit - leftmost bit
AKA: sign bit since hardware needs to test only this one for sign
least significant bit - right most bit
sign extension - to represent a no. in n-bits to a number in more than n-bits take the leftmost bit and copy it to the extra bits
basic struc.
BIT - a machine tht stores voltage represents 0 or 1
BYTE - grp. of 8 bits
two's complements
take Y | 2. Flip it | 3. Then add 1. The value is two's complement.
data type implementation
a logical descp. i.e. type like float
phy. constr., data strc. in byte format
a circuit that implements