Mathematics with Binary
Question Below is a binary string Which is the least significant bit (LSB)? Which is the most significant bit (MSB)? MSBLSB
Objectives Add two binary numbers and multiply two binary numbers. Convert a denary integer into Two's Complement and vice versa. Describe the use of Two's Complement to perform subtraction.
Binary Addition You have to be able to add together two binary numbers, and it’s easy! Lets try to add together
Binary Subtraction Subtraction has an extra step as we have to use two’s complement, to make the number that we are taking way into a negative Two’s Complement is used to convert a number to a negative Lets look at taking away the following: (17) (13 – Decimal) Step 1 – Convert 13 to twos complement Step 2 – We now add together the two numbers
Binary Multiplication This can be slightly longer but follows the same rules as doing multiplication in denary. Lets look at multiplying the following numbers: