Computer Achitecture and org - Computer Arithmetic , Study notes of Computer Architecture and Organization

Description about Computer Arithmetic, Introduction , Algorithm , Addition and Subtraction of signed magnitude numbers, Hardware for signed magnitude addition and subtraction, Flow chart for add and subtract operations.

Typology: Study notes

2010/2011

Uploaded on 09/02/2011

hamit1990
hamit1990 🇮🇳

4.3

(76)

95 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Computer Arithmetic
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Computer Achitecture and org - Computer Arithmetic and more Study notes Computer Architecture and Organization in PDF only on Docsity!

Computer Arithmetic

Introduction

Algorithm – solution to any problem that is stated

by a finite number of well-defined procedural

steps.

Algorithms for addition, subtraction,

multiplication and division

Fixed point binary data in signed magnitude

representation

Fixed point binary data in signed 2’s complement

representation

Floating point binary data

Addition and Subtraction of signed

magnitude numbers

Hardware for signed magnitude

addition and subtraction

B Register

Complementer

Parallel adder

A Register

B

S

AVF

E

Output

carry

A

S

S

Input carry

M (Mode Control)

Load Sum

Problems

Mark each individual path in the flow chart by a

number and then indicate the overall path that

the algorithm takes when the following signed

magnitude numbers are computed. In each case

give the value of AVF. The left most bit in the

following numbers represents the sign bit

Signed magnitude addition

1 1 1 1 1

E = AVF = 1

Problems

Perform the arithmetic operations below with

binary numbers and with negative numbers in

signed 2’s complement representation. Use

seven bits to accommodate each number

together with its sign. In each case, determine if

there is an overflow by checking the carries into

and out of the sign bit position