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

Transients in r-l-c circuits, Transients in R-L-C circuits: Scenario ...

Transients in R-L-C circuits: Scenario The Laplace transform is a valuable mathematical tool which allows the solution of difficult differential equations to be easily de

Electronics, what is the difference between half &full wave rectifier

what is the difference between half &full wave rectifier

Name the modes used by the dma processor to transfer data, Name the three m...

Name the three modes used by the DMA processor to transfer data? The three modes are:- a) Signal transfer mode (cycling stealing mode) b) Block transfer mode c) Demand

Calculate the current flow and voltage drops, Based on Figure, using star-d...

Based on Figure, using star-delta transformation, calculate the current flow and voltage drops at 6kΩ resistor.

Briefly explain about laplace transform, Q. Briefly explain about Laplace t...

Q. Briefly explain about Laplace transform? Many commonly encountered excitations can be represented by exponential functions. The differential equations describing the network

Electricity hazards in the laboratory, ELECTRICITY HAZARDS IN THE LABOR...

ELECTRICITY HAZARDS IN THE LABORATORY : You've probably read about, or heard of, people falling onto high voltage rails or cables and surviving thousands of volts. As a contra

Counter-controlled analog to digital converter, Q. Counter-controlled analo...

Q. Counter-controlled analog to digital converter? Figure shows the block diagram of a counter-controlledA/Dconverter. Resetting the binary counter to zero produces D/A output

Project, Design a DC motor control system to run the 48V DC motor at 40rpm ...

Design a DC motor control system to run the 48V DC motor at 40rpm up to max load of the motor. You are responsible for designing the control of a 24V supply along with the speed s

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