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. Consider the circuit of Figure in which the switch S has been open for a long time and is closed at t = 0. Determine v C (t) for t ≥ 0.

what is Zener diode ? give some uses of it .

DI Disable  Interrupts Instruction The interrupt enable  flip flop is reset and all the  interrupts of 8085 microprocessors  except  TRAP  are disabled . the  instruction  form

The worldwide automotive industry is currently witnessing rapid innovative developments day by day. The developments encompass every aspect of the automobile such as materials, man

1. A modi?ed NRZ code known as enhanced-NRZ (E-NRZ) operates on 7-bit words; invert- ing bits 2,3,6 and 7; and adding one parity bit to each word. The parity bit is chosen to make

Q. How speech is transmitted in digital switching environment by using PCM/TDM? Ans: A digital carrier system is a communications system which uses digital pulses instead of

Stator Voltage Control Methods By  controlling  the applied voltage  the speed  of an  induction motor  can be  controlled. Since  the output  torque of 3-? induction motor  i

State and prove parallelogram law of forces and explain it''s applications

Since a controlled source acts at its terminals in the same manner as does an independent source, source conversion and application of KCL and KVL relations are treated identically

Earthing : Any electrical appliance with a metal casing or with metal parts, likely to be touched by an operator is potentially dangerous. The danger is that an internal or extern