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

What are operations performed on data in 8085, What are operations performe...

What are operations performed on data in 8085 The various operations performed are Store 8-bit data Perform arithmetic and logical operations Test for conditio

Immediate addressing , Immediate  Addressing In this  addressing mode...

Immediate  Addressing In this  addressing mode that 8/16  bit data  is specified  in the  instruction itself  as its  one of the  operands. Normally the instructions  using  a

What is a clipper circuit, Q. What is a clipper circuit? Clipping circu...

Q. What is a clipper circuit? Clipping circuits are linear wave shaping circuits. The main function of 'clipper' is that it clips off a part of input waveform i.e., it cut off

Determine the induced armature emf, A250-V, 50-kWshort-shunt compound dc ge...

A250-V, 50-kWshort-shunt compound dc generator,whose schematic diagramis shown in Figure, has the following data: armature resistance 0.05 , series-field resistance 0.05 , and sh

Explain the ideal drain characteristics of the jfet, Q. Explain the ideal d...

Q. Explain the ideal drain characteristics of the JFET? The JFET consists of a thin layer of n-type material with two ohmic contacts, the source S and the drain D ,along with t

Ac motors, AC Motors DC motors that have their magnetic fields produce...

AC Motors DC motors that have their magnetic fields produced by coils as described earlier can, in principle,  be powered from AC as well, since if the applied voltage reverse

Draw a state diagram of 3-bit ripple counter, The block diagram for a 3-bit...

The block diagram for a 3-bit ripple counter is shown in Figure (a). Obtain a state table for the number of pulses N = 0 to 8, and draw a state diagram to explain its operation.

Determine the equivalent inductance, Determine the equivalent inductance: ...

Determine the equivalent inductance: Two coils of inductances 4H and 6H are connected in parallel. If their mutual inductance is 3 H, determine the equivalent inductance of th

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