Daa decimal adjust accumulator instruction , Electrical Engineering

Assignment Help:

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.


Related Discussions:- Daa decimal adjust accumulator instruction

Representation of magnetic fields, The direction of the magnetic field line...

The direction of the magnetic field lines is given by 'Maxwell's Right-Hand corkscrew rule'  The thumb of the right hand indicates the direction of current flow in the wire and

Change in flux linkage, 1. The coil remaining stationary with respect to th...

1. The coil remaining stationary with respect to the flux, the flux varies in magnitude with time. Since no motion is involved, no energy conversion takes place. Equation gives the

Nash equilibrium matlab code, Can someone please guide me on how to compute...

Can someone please guide me on how to compute a nash equilibrium in matlab

Switched mode power supply , Switched Mode Power Supply  (SMPS) Switch...

Switched Mode Power Supply  (SMPS) Switching mode power  supply converts an unregulated DC voltage  to a regulated DC  output  voltage . SMPS  stands  for switched mode  power

Explain kirchhoff current law, Q. Explain Kirchhoff current law? The ba...

Q. Explain Kirchhoff current law? The basic laws that must be satisfied among circuit currents and circuit voltages are known as Kirchhoff 's current law (KCL) and Kirchhoff 's

Clippers, dis advantage of series clippers?

dis advantage of series clippers?

Electricity and gas hazards, INTRODUCTION : Electricity is one of the fine...

INTRODUCTION : Electricity is one of the finest gifts of science to the mankind since just a flick of switch can flood the room with light or put on a fan, an air conditioner or a

Cpld design project, 1) Study the CPLD Design Project Brief to gain an unde...

1) Study the CPLD Design Project Brief to gain an understanding of the project, and the System Specification, Circuit Description, Pre-processing and Post-processing Requirements f

Determine the disadvantages of GPS system, Determine the disadvantages of G...

Determine the disadvantages of GPS system -  Maps not up to date hence instructed to carry out an incorrect manoeuvre (for example turn into a road that no longer exists) -

Jfet ampli?er circuit, Q. For the CS JFET ampli?er circuit of Figure, R D ...

Q. For the CS JFET ampli?er circuit of Figure, R D = 2k and R L = 3k. The JFET with ro = 15 k has a voltage gain A v1 =-4.5 when the entire source resistance is bypassed. Fin

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd