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

Power semiconductor-controlled drives, Q. Explain Power semiconductor-contr...

Q. Explain Power semiconductor-controlled drives? Power electronics deals with the applications of solid-state electronics for the control and conversion of electric power. Con

Determine the voltages vx using voltage division, Q. Determine the voltages...

Q. Determine the voltages Vx using voltage division and equivalent resistor reductions for the circuits shown in Figure.

What are the important requirements of a insulating material, What are the ...

What are the important requirements of a good insulating material? Important requirements of good insulating materials:- The necessity of good insulating materials can be cl

Explain numeric processor 8087, Explain numeric processor 8087. Numeric...

Explain numeric processor 8087. Numeric processor 8087 is a coprocessor which has been intended to work under the control of the processor 8086 and offer it additional numeric

Wye-delta transformation., what is the literature review about wye delta tr...

what is the literature review about wye delta transformation?? for 3 paragraphs atleast*

Explain the purpose of the global descriptor table register, Explain the pu...

Explain the purpose of the global descriptor table register. The GDTR stand for global descriptor table register and IDTR stand for interrupt descriptor table register conta

Software, Write a computer program to implement the finite difference metho...

Write a computer program to implement the finite difference method. The program can be in any computer language that is available within the school. Set up the code to find the pot

Express the instantaneous power, Q. On a per-phase basis, let v = √2 V cos ...

Q. On a per-phase basis, let v = √2 V cos ωt and i = √2 I cos (ωt - θ). (a) Express the instantaneous power s(t) in terms of real power P and reactive power Q. (b) Now consid

Electro-magnetic interference, (a) Give three different ways how electro-...

(a) Give three different ways how electro-magnetic interference can be reduced in twisted pairs based transmission. (b) Noise are unwanted signals affecting transmission. Lis

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