2.1.4: be able to add together two positive binary patterns and apply logical and arithmetic binary shifts
| Keyword | Definition |
|---|---|
| arithmetic shift left | exactly the same as a logical shift left but may result in a value flipping between positive and negative if an overflow occurs |
| arithmetic shift right | copying the most significant bit on to the left of a binary value and discarding the bits on the right. Divides a signed or unsigned number by 2 |
| binary addition | adding two binary values together |
| carry | an extra 0 or 1 which needs to be used when the result of a binary addition is more than 1 |
| logical shift left | adding zeros on to the right of a binary value and discarding the bits on the left. Multiples the value by 2 |
| logical shift right | adding zeros on to the left of a binary value and discarding the bits on the right. Divides the value by 2 |