0% found this document useful (0 votes)
5 views7 pages

Arithmetic Operations in Accumulators

The document discusses arithmetic operations involving an accumulator and multiplication of two numbers, including their binary representations. It outlines the process of performing these operations, including the use of two's complement for negative numbers. Additionally, it mentions reducing the number of operations and the implications of signed numbers in calculations.

Uploaded by

Anchal Kumari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views7 pages

Arithmetic Operations in Accumulators

The document discusses arithmetic operations involving an accumulator and multiplication of two numbers, including their binary representations. It outlines the process of performing these operations, including the use of two's complement for negative numbers. Additionally, it mentions reducing the number of operations and the implications of signed numbers in calculations.

Uploaded by

Anchal Kumari
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

prlemetatan o Besth

Ad a Dis ad s btryit
M 2(M) - 2M)
01O| MX

Accumuator

MX8 24 (M) t2 ()
Openati
Arithmahc gt shyt
o
>Ace <- Acc +M, ARS(Anhmahe ngt shift)

Aceumulator

+0 0

sifl

(o.)
6

Alita o2
stat

Acea-o, Q-0
Mto Mulipucad

o)
Ae<- A« tM4

Aith ma he at sft Ae ca
Cout (ouat

No Yeo
Stop

li plàcat
1. lafms signed itwu-Ve numbe
2. Penfome bitten -ve

Raduced nunhe of openatins


g.

J. famene deeKases
Both the nubers ane
ve

+(Numbea I )xt (Numbes 2)


+ Produt

stut

AC0, C =0
M = Mu lhbcoub
Muttrpue
Cout=n

=0, )

ASthmaHc
AC , , -
Yeo
Count Cout-1

l|
Mulinly 7 and 3 uriy sooto alyoin
We have
Solu hoy
Hene ei tea sige 4 ACAC-M
M= (7)0
(7) o = (oll),
= (3)0 nd
-M = 2's conplenet (o), =(too),
SO |000 - l colemen
+|
2 Complemet
AC
Openatin

000 0

Ro -1 = o0
-
Anthmat':cft

Angwen

22
Muthbly-7 nd t33 wig bootha ayon
M = ()lo (o011D, io 00

AC openatio
()00 )AC Ac-M , KR
O000O

le

I|010
3 ele

() AsR
yde
ASR
(0) AsR

(o00 o0 |0|o0))
cmploneat
2

2
Case
-(wum!be i) X -lNumbe 2)
+ CPsod uet)
Mu
booths algonith
goter sig - 4bit

No neeeo4af
(oo1)
Czenatiay

Oo00

00o0

(i) Ac= 4c+M

||00
g e l e

Ac=Ac-4

y e l e

=16 t4t!

You might also like