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. When the quantum step size δv and the step size of f (t) are the same as in , the quantizer is said to have a gain of unity. If, on the other hand, the quantizer has a gain of K

charactersticks of pn junction

Q. Give a general account of common drain amplifier? The output is taken over the source terminal and when the dc supply is replaced by its short circuit equivalent, the drain

Discuss the control words (ICWS) of IC8259. The Intel 8259 is a single chip programmable interrupt controller. It is compatible with 8086, 8088 and 8085 microprocessor. It is a

E l e c t r ons and Holes For T> 0 K, there would be some electrons in the otherwise empty conduction band, and some empty states in the otherwise filled valence ban

a train weight 5 megaN is taking a slope of 1 in 200 at 45 kmper hour.the engine put in 100 kw.determine the power to be put in by the engine it the train take the slope up of 1 in

1. Pattern recognition A synchronous sequential machine is to generate 1 on output z after the next clock pulse whenever the bit sequence on input x has exactly two 0’s in the last

Q. Explain common collector configuration? It is called the common-collector configuration because (ignoring the power supply battery) both the signal source and the load share

Q. What is a differentiator circuit? By introducing electrical reactance into the feedback loops of op-amp amplifier circuits, we can cause the output to respond to changes in

FET operation: Figure: I-V characteristics and output plot of a JFET n-channel transistor. The FET manages the flow of electrons (or electron holes) from the sourc