The document outlines the basic rules for addition and subtraction in various number systems, including binary, octal, and hexadecimal. It emphasizes that both operations are performed column-wise, starting from the right-most column, and provides specific instructions for handling cases where the sum or difference exceeds the base. The document serves as a guide for performing arithmetic operations in different numeral systems.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
12 views7 pages
Ch1 Additition Subtraction
The document outlines the basic rules for addition and subtraction in various number systems, including binary, octal, and hexadecimal. It emphasizes that both operations are performed column-wise, starting from the right-most column, and provides specific instructions for handling cases where the sum or difference exceeds the base. The document serves as a guide for performing arithmetic operations in different numeral systems.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7
Number Systems
Addition and Subtraction
Mohammad Ali Javidian Addition 8 9 1 Addition has the following basic rules: + 2 4 5 • Addition is a column-wise operation. • Always start from the right-most column to the left-most one. • If the summation of digits in the current column is less than the base, write down the sum and go to the next column at the left of the current column, • Otherwise, write down the unit value of the sum in the given base and move carrier(s) (rest of digits in the sum) to the appropriate column(s) at the left. Addition in Binary Systems 1 0 1 Addition has the following basic rules: + 1 0 1 • Addition is a column-wise operation. • Always start from the right-most column to the left-most one. • If the summation of digits in the current column is less than the base, write down the sum and go to the next column at the left of 1 1 0 1 0 the current column, 1 0 0 1 1 • Otherwise, write down the unit value of the sum in the given 1 0 1 1 0 base and move carrier(s) (rest of digits in the sum) to the + 1 0 1 1 1 appropriate column(s) at the left. Addition in Octal and Hexadecimal Systems 5 2 Addition has the following basic rules: + 3 4 • Addition is a column-wise operation. • Always start from the right-most column to the left-most one. • If the summation of digits in the current column is less than the base, write down the sum and go to the next column at the left of the A 3 current column, + C A • Otherwise, write down the unit value of the sum in the given base and move carrier(s) (rest of digits in the sum) to the appropriate column(s) at the left. Subtraction 5 0 0 9 Subtraction has the following basic rules: 3 9 4 8
• Subtraction is a column-wise operation.
• Always start from the right-most column to the left- most one. • If the subtraction is doable, write down the result and go to the next column at the left of the current column, • Otherwise, borrow one from the left column of the current column and add the base value to the digit at the top of the current column. Subtraction in Binary Systems 1 0 1 0 0 Subtraction has the following basic rules: 1 0 1 1
• Subtraction is a column-wise operation.
• Always start from the right-most column to the left- most one. • If the subtraction is doable, write down the result and go to the next column at the left of the current column, • Otherwise, borrow one from the left column of the current column and add the base value to the digit at the top of the current column. Subtraction in Octal and Hexadecimal Systems 7 2 Subtraction has the following basic rules: 3 5
• Subtraction is a column-wise operation.
• Always start from the right-most column to the left- 3 A most one. 2 D • If the subtraction is doable, write down the result and go to the next column at the left of the current column, • Otherwise, borrow one from the left column and add the base value to the digit at the top of the current column.