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
Assume a ray of light is incident on a smooth reflecting surface at an angle of incidence of 15 degrees to the normal. What is the angle between the incident ray and the reflected

Explain the Alphanumeric Coding - bcd to decimal conversion? For the inherently binary world of computer, it is necessary to put all symbols, letters, numbers, and so on into bin


Q. Explain Shunt-field control process? Shunt-field control, armature-resistance control offers a constant-torque drive because both flux and, to a first approximation, allowab

Any number System  to Decimal Conversion To convert a number in any number system to its  equivalent  decimal number, simply multiple each  digit of the number  with its  posi


what is the reason for reduction in low frequency and high frequency regions in the frequency response of an Rc coupled amplifier?

The mobility of free electrons and holes for pure silicon are 0.13 and 0.05 m2/V-S respectively. Find the intrinsic conductivity for silicon. Assuming ni = 1.5x 1016/cm3 at room te

Input Characteristics Transistors  can be  operated in the switching  mode. If  base  current IB  is zero transistor is in  an ON  state  behaves as a switch. If  the base  cur

Two stations, located on mountain tops 40 km apart, communicate with each other using two identical paraboloidal antennas with pencil beam- width of 1°, aperture ef?ciency of 0.8,