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. An FM station's modulator has a sensitivity k FM = 5π × 10 4 rad/s·V. A receiver uses a discriminator that has a gain constant of 10 -5 /π V·s/rad. Neglecting noise, determin

Q. Consider two 1-C charges separated by 1min free space. Show that the force exerted on each is about one million tons.

A circular ring of magnetic material has a mean length of 1m and a cross sectional area of .001m^2.A sawcut of 5mm width is made in the ring . calculate the magnetizing current req

solve problem by neural network using matlab code

Q. The following data were obtained on a 25- kVA, 2400:240-V, 60-Hz, single-phase distribution transformer: • Open-circuit test with meters on LV side: 240 V, 3.2 A, 165 W •


Determine the value of maximum power: Determine the value of load resistance, R L for which the source shall transfer the maximum power. Also determine the value of maximum p

Q. Purpose of Customer Review in project management? The Customer in conjunction with the Project Manager/ Engineer decides the timing of the IFA review. This review is cond

DC Load line