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

Hilda output - externally initiated signals , HILDA ( Output) It is ...

HILDA ( Output) It is  called hold acknowledge signals it is active  high  i e it  goes high when  microprocessor receives HOLD signal.

Determine lower and upper cut-off frequency, Q. In an amplifier, the maximu...

Q. In an amplifier, the maximum voltage gain is 1500 and occurs at 1kHz. It falls to 1060.5 at 20kHz and at 20Hz. Determine (i) lower cut-off frequency (ii) upper cut-o

Microcontroller, What are usue and all the details of 8051 microcontroller ...

What are usue and all the details of 8051 microcontroller with its block diagram pin diagram and all other details

Fourier deries, how to compute the fourier series expansion of a rectangula...

how to compute the fourier series expansion of a rectangular pulse train

Evaluate parameters of a bjt, Q. The parameters of a BJT are given by α = 0...

Q. The parameters of a BJT are given by α = 0.98, I CBO = 90 nA, and i C = 7.5 mA. Find β, iB, and iE.

Right-handed coordinate system, The vectors we will use we be refered to ri...

The vectors we will use we be refered to right-handed Cartesian axes. Right handed means that the x,y,z axes are oriented in a particular way (which you must know). See diagrams

TRANSISTOR BIASING CIRCUITS, HOW TO FIND THE OPERATING POINT OF THE TRANSIS...

HOW TO FIND THE OPERATING POINT OF THE TRANSISTO IN A COLLECTOR TO BASE BIAS CIRCUIT

Explain about elementary direct-current machines, Q. Explain about Elementa...

Q. Explain about Elementary Direct-Current Machines? A preliminary discussion of dc machines, including Equations. The location of the brushes on the commutator arrangement con

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