0% found this document useful (0 votes)
15 views23 pages

Arithmethic Operations

Uploaded by

Ezekiel Nequit
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
15 views23 pages

Arithmethic Operations

Uploaded by

Ezekiel Nequit
Copyright
© © All Rights Reserved
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/ 23

Arithmetic Operations

Addition of Number Systems


A. Binary Addition
Rules:
0+0=0
0+1=1
1+0=1
1 + 1 = 0 (with a carry of 1 to the next digit to the left
Addition of Number Systems
A. Binary Addition
Addition of Number Systems
B. Octal Addition
Rules:
1. Add the rightmost digit and divide the sum by 8.
2. The quotient will be carried to the next digit to the left and
the remainder is brought down as actual sum.
3. Repeat the whole process until the left most digits have
been added.
Addition of Number Systems
B. Octal Addition
Addition of Number Systems
C. Hexadecimal Addition
Rules:
1. Add the rightmost digit and divide the sum by 16.
2. The quotient will be carried to the next digit to the left and
the remainder is brought down as actual sum.
3. Repeat the whole process until the left most digits have
been added.
Addition of Number Systems
C. Hexadecimal Addition
Subtraction of Number Systems
A. Subtraction using R’s Complement
Steps:
1. Get the R’s complement of the subtrahend (N).
2. Add the minuend (M) to the R’s complement of the
subtrahend (N).
3. Inspect for the result obtained in step 2 for an end-carry;

3.1 If an end-carry occurs, discard it.


3.2 If an end-carry does not occur, take the R’s
complement of the number obtained in step 2 and place a
negative sign in front of the number
Subtraction of Number Systems
A. Subtraction using R’s Complement
Subtraction of Number Systems
B. Subtraction using (R-1)’s Complement
Steps:
1. Get the (R-1)’s complement of the subtrahend (N).
2. Add the minuend (M) to the (R-1)’s complement of the
subtrahend (N).
3. Inspect for the result obtained in step 2 for an end-carry;

3.1 If an end-carry occurs, add it to the least significant digit


(end-around-carry).
3.2 If an end-carry does not occur, take the (R-1)’s
complement of the number obtained in step 2 and place a
negative sign in front of the number
Subtraction of Number Systems
B. Subtraction using (R-1)’s Complement
Multiplication of Number Systems

A. Binary Multiplication
Rules:
0x0=0
0x1=0
1x0=0
1x1=1
Multiplication of Number Systems

A. Binary Multiplication
Multiplication of Number Systems

B. Octal Multiplication
Rules :
1. Multiply the rightmost digit.
2. Divide the quotient by 8.
3. The quotient is carried to the next digit to the left and the
remainder is brought down as the actual product.
4. Continue the process until the leftmost digit has been
multiplied.
Multiplication of Number Systems

B. Octal Multiplication
Multiplication of Number Systems

C. Hexadecimal Multiplication
Rules :
1. Multiply the rightmost digit.
2. Divide the quotient by 16.
3. The quotient is carried to the next digit to the left and the
remainder is brought down as the actual product.
4. Continue the process until the leftmost digit has been
multiplied.
Multiplication of Number Systems

C. Hexadecimal Multiplication
Division of Number Systems
A. Binary Division
Rules:
1. Begin from the left on the dividend.
2. Perform a series of subtraction, wherein the subtrahend is
subtracted from the minuend.
3. If subtraction is possible, the quotient is 1.
4. If not, the quotient is zero (0).
Division of Number Systems
A. Binary Division
Division of Number Systems
B. Octal Division

To determine the quotient, choose a number from 0 – 7 that


when multiplied to the divisor will not exceed the value in the
dividend. Follow the process of decimal division. Check the
answer by performing multiplication.
Division of Number Systems
B. Octal Division
Division of Number Systems
C. Hexadecimal Division

To determine the quotient, choose a number from 0 – 15 that


when multiplied to the divisor will not exceed the value in the
dividend. Follow the process of decimal division. Check the
answer by performing multiplication.
Division of Number Systems
C. Hexadecimal Division

You might also like