Daa decimal adjust accumulator instruction , Electrical Engineering

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.

Posted Date: 4/5/2013 12:28:31 AM | Location : United States







Related Discussions:- Daa decimal adjust accumulator instruction , Assignment Help, Ask Question on Daa decimal adjust accumulator instruction , Get Answer, Expert's Help, Daa decimal adjust accumulator instruction Discussions

Write discussion on Daa decimal adjust accumulator instruction
Your posts are moderated
Related Questions
Q. What do you mean by Negative Impedance Converter? The op-amp circuit of Figure causes a negative resistance R in between the input terminal and ground. In the more general

HOW TO FIND THE OPERATING POINT OF THE TRANSISTO IN A COLLECTOR TO BASE BIAS CIRCUIT

Ask questiwe have half wave rectifier connected to a dc motor load. by using a step down transformer from 8 to 1. by modalization we have the Primary Winding resistance is Rp=50 oh

Q. Write a note on feedback of emitter follower? The emitter follower can be seen to be an example of negative feedback when the relationship is put in the form

Power in Balanced Three-Phase Circuits The total power delivered by a three-phase source, or consumed by a three-phase load, is found simply by adding the power in each of the

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

Hi. Do you do projects with Arduino microcontroller? How much does it cost?

Q. Working of Electrically erasable programmable rom EEPROM is used for remote-area applications. The device is provided with special pins which, when activated electrically, a

Q. For the circuit shown in Figure, determine v out (t).

outline what three features you would add (choose the three that you feel would be most advantageous) to the 16 bit version of the processor in order to enhance its power.