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. Can you explain twos Complement Division? 2's complement division is repeated 2's complement subtraction. The 2's complement of the divisor is calculated, and then added to

What are the different flag available in status register of 8086? There are Six flags are present. They are, AF - Auxiliary Carry Flag CF - Carry Flag OF - Ove

What do you mean by the term procedure? PROC: The PROC and ENDP directives specify the start and end of a procedure. Such directives force structure while the procedure is cle

Explain the Johnson Counters? The Johnson counters are a variation of standard ring counters with the inverted output of the last stage fed back to the input of the first stage

To design a VI that can also be used as a Sub VI in another VI. The title of the VI will be Pulse Generator. The output from the VI will be of the type Analogue Waveform and

Applications of Hall Effect: (i)  To determine whether semiconductor is of n type or p type. (ii) To determine carrier concentration. (iii) Measurement of carrier mobili

a digital computer controlled rolling mill regulator system..

Explain virtual memory. The term virtual memory considers as to something that appears to be present but in fact it is not. The virtual memory technique permits users to use m

Semiconductor Material: Semiconductor is a material that has a conductivity level somewhere between the extreme of an insulator and a conductor   Resistivity of a material