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
Figure show two first-order triangular finite elements used to solve the Laplace equation for electrostatic potential. Find a local S -matrix for each triangle, and a global S -m

Role of Central and State Governments The subsequent roles of Central and State Governments are envisaged in the Act: The Central Government will Notify rules

Q. Consider the magnetic circuit shown in Figure. Assume the relative permeability of the magnetic material to be 1000 and the cross-sectional area to be the same throughout. Deter

Q. Calculate the diameter of an air-filled circular waveguide? Unlike transmission lines, which operate at any frequency up to a cutoff value, waveguides have both upper and lo

Q. What are the basic operations of  MOSFET? The gate to source voltage is set to zero volts by the direct connection from one terminal to the other,and a voltage Vds is applie

Q. Find idealized expressions for the active and ohmic states and sketch the universal characteristics of an n-channel enhancement MOSFET operated below breakdown.

Describe the uses of GPS map This is far safer because a driver of a vehicle doesn't have to consult maps while driving. It also removes error (for example going the wrong way

Design a low noise amplifier using an Infineon RF transistor BFP640. The amplifier is to be used to amplify the L2 GPS signal and so the centre frequency is 1227MHz and bandwidth 4

Level 1 is means of sending bit streams over a physical path. It uses times lot 16 of a 2 M bit/s PCM system or times slot 24 of a1.5 M bit/s system. Level 2 performs functions

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