Daa decimal adjust accumulator instruction , Electrical Engineering

Assignment Help:

DAA Decimal Adjust Accumulator Instruction

This  instruction adjusts the contents  of the accumulator  into BDC (Binary Coded Decimal )  form  after a BCD  addition. It should be  used after ADD, ADI etc instruction if performing  BCD  addition  the  instruction format is

DAA

This is the only instruction which  uses auxiliary carry flag internally.

Flag: All flags  are moodier according  t the result.

 Followings  procedure is used by DAA instruction to convert the contents of th e accumulator from binary  to BCD.

a.If the value of  low order  four bits (D3 -D0)  in the accumulator of the accumulator  9 the instruction adds  6  to the low order four bits.

b.If the value of high  order four bits  (D7-D4)  in the accumulator  is more  than 9 the instruction adds  6 to the high  order four bits

See followings  example to understand the  working  of DAA instruction.


Related Discussions:- Daa decimal adjust accumulator instruction

Describe two ways of correcting the blur, Q. We have discussed three differ...

Q. We have discussed three different color spaces: RGB, HSI and CMY(K). Specify the need for multiple color spaces. Why can we not use only one? Q. A telescope in an observatory

Circuit theory, matlab program for verifying maximum power transfer

matlab program for verifying maximum power transfer

Obtain the value of rs, Consider and obtain the values for R S , R 2 , R 1 ...

Consider and obtain the values for R S , R 2 , R 1 , and R D . Apply the rule-of-thumb dc design procedure outlined in this section for a JFET with V P = 3V, I DSS = 20 mA, and a

What are concentrators, Q. What are concentrators? Elucidate how it helps i...

Q. What are concentrators? Elucidate how it helps in connecting number of subscribers. Ans: In rural areas, subscribers are usually dispersed. It is both expensive and unn

Eeprom, advantages and disadvantages

advantages and disadvantages

What is barkhausen criterion, Q. What is Barkhausen criterion? Why is the v...

Q. What is Barkhausen criterion? Why is the value of Ab kept slightly greater than 1? The condition |Ab| = 1 is called the Barkhausen criterion. It implies that when |Ab| = 1,

Evaluate parameters of a bjt, Q. The parameters of a BJT are given by α = 0...

Q. The parameters of a BJT are given by α = 0.98, I CBO = 90 nA, and i C = 7.5 mA. Find β, iB, and iE.

Logical operations , Logical Operations Various  operations like and  ...

Logical Operations Various  operations like and  or exclusive  or complement compare and rotate are called  logical  operations. Generally flags ( not all always) are modified

Applications platform - gis applications, Applications Platform: GIS a...

Applications Platform: GIS applications should be capable to act as a base system over which the other business process application can be integrated which is the objective of

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd