## Are you sure?

This action might not be possible to undo. Are you sure you want to continue?

Name Designation Branch Institute Year/Semester Subject Subject Code Topic : A Rajeswara Rao. : Head of Computer Engg. : Computer Engg. : GMR Polytechnic, Karimnagar. : III Semester : Computer Architecture : CM-303 : Information Representation, Arithmetic operations : 50 Mts : Fixed point addition/subtraction basics using signed CM303.23 1 : Animation clips & Images

Duration Sub. Topic Teaching Aids to be used

Objective

On completion of this period, you would be able to know

• How fixed point addition & subtraction can be performed using signed magnitude representation

CM303.23

2

Recap

In the previous class, we have learnt about : • Various addressing modes

CM303.23

3

**Representation of fixed point numbers operations
**

Let the operations be performed on fixed point numbers in signed magnitude representation

Let the two n-bit numbers are represented in two registers AR,BR AR: As.A BR: Bs.B Where As,, Bs are sign bits and A,B are (n-1) bit magnitudes

CM303.23

4

OBSERVATIONS

Let different situations of signs As,Bs be considered for operations of addition and subtraction. The results can be tabulated as stated in the table below.

CM303.23

5

**Addition and subtraction of signed magnitude numbers
**

SUBTRACTION ADDITION S.No. 1 2 3 4 5 6 7 8 Operation (+A)+(+B) (+A)+(-B) (-A)+(+B) (-A)+(-B) (+A)-(+B) (+A)-(-B) (-A)-(+B) (-A)-(-B) Add Magnitudes +(A+B) -(A+B) +(A+B) -(A+B) Subtract magnitudes A>B A<B A=B +(A-B) -(B-A) +(A-B) -(A-B) +(B-A)+(A-B) +(A-B) -(B-A) +(A-B) -

-(A-B) +(B-A)+(A-B)

6

CM303.23

**Addition and subtraction of signed magnitude numbers It can be observed that during addition
**

•If signs of AR and BR are same magnitudes A,B are added and sign As of AR is retained •If signs of AR and BR are different the difference is found and sign As of AR is retained if A>B or sign As of AR is complemented if A<B

CM303.23 7

**Addition and subtraction of signed magnitude numbers
**

It can be observed that during subtraction

•If signs of AR and BR are different magnitudes A,B are added and sign As of AR is retained. •If signs of AR and BR are same the difference is found and sign As of AR is retained if A>B. or sign As of AR is complemented if A<B.

CM303.23 8

**Addition and subtraction of signed magnitude numbers
**

• It can be concluded for case of sign of result that • if a sum is calculated between magnitudes the sign of AR (As) is retained. •if a difference is calculated between magnitudes the sign of AR (As) is retained if A>B, and complemented if A<B

CM303.23

9

Summary

In this class , you have learnt …

• Basics of addition,subtraction of signed magnitude numbers

CM303.23

10

**Frequently asked questions
**

1. Describe the procedure how two fixed point numbers are added in signed magnitude representation. 2. Describe the procedure how two fixed point numbers are subtracted in signed magnitude representation.

CM303.23 11

Quiz

1. If both the signs are same, ________ can be done in a fixed point addition of two numbers. b) Addition c) Subtraction d) Multiplication e) None

CM303.23

12

2. If the signs are different, _________ can be

**done in a fixed point subtraction of two numbers. b) Addition c) Subtraction d) Multiplication e) None
**

CM303.23 13

- m6u1 parent letter
- 1. Basic Mathematical Skills
- math decimals lesson plan ca
- study link 1 10
- CH-5 - Computer Arithmetic
- tls 493 engage ny lesson 11
- subtaction teaming co-teaching lesson plan
- B3Unit1Parents
- Curri 1 - 6
- 3rd grade math pacing guide 2014-2015
- ganbengkelIPSfp
- parentguide math 2
- 2348910 Pelc Mathematics
- Math G1Tri1a
- Signs Oops
- field iii lesson plan 2 commutative property of addition kira castle
- SCERT Maths Chapter1
- udl math lesson plan
- year
- Syllabus & Model Questions - CSE - 2013 - H II
- pat summary
- 100910
- curriculum topic study pbi
- 8085
- Gr 6 Term 4 2017 Maths Content Booklet Targeted Support
- 5.2 Numbers and Operations (Rational Numbers)
- 05494882
- Primary Maths Curriculum Framework
- Microprocessor
- 6-8 Number and Operation

- tmp61E7
- tmpB208.tmp
- A Survey on Moving Object Detection in Static and Dynamic Background for automated video analysis
- Kass v. Brannan, Secretary of Agriculture, 196 F.2d 791, 2d Cir. (1952)
- tmp49F1.tmp
- A survey on current techniques of Real Time Multiple Object Tracking from Video based on Background Subtraction Algorithm
- Improving the Efficiency of Spectral Subtraction Method by Combining it with Wavelet Thresholding Technique
- Video Math Tutor

Sign up to vote on this title

UsefulNot usefulClose Dialog## Are you sure?

This action might not be possible to undo. Are you sure you want to continue?

Close Dialog## This title now requires a credit

Use one of your book credits to continue reading from where you left off, or restart the preview.

Loading