3.1.4: understand how to perform binary arithmetic (add, shifts (logical and arithmetic)) and understand the concept of overflow
Keyword | Definition |
---|---|
arithmetic shift | moving binary values one or more bits to the left or right. The sign bit always stays the same. |
binary addition | combining two binary values to calculate the sum |
binary arithmetic | a mathematical calculation using 0s and 1s |
logical shift | moving binary values one or more bits to the left or right, replacing bits on the other end with zeros. The sign bit is ignored. |
overflow | when a number is calculated that is too big or too small to be stored with a given number of bits, the extra bits are lost. |