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

In the circuit, see figure on this link: http://tinypic.com/r/1zodevk/8. ...

see figure on this link: http://tinypic.com/r/1zodevk/8. A. j400 I1-j1200 I2 (A) B. -j400 I1+j1600 I2 (A) C. j400 I1+j400 I2 (A) D. -j400 I1-j400 I2 (A)

Explain digital signal formatting, Q. Explain Digital Signal Formatting? ...

Q. Explain Digital Signal Formatting? After quantization and coding the samples of the message, a suitable waveform has to be chosen to represent the bits. This waveformcan the

Image gradient, Image gradient Write an m-file "grad.m" which computes ...

Image gradient Write an m-file "grad.m" which computes and displays gradient and orientation of an input image (use Gaussian derivatives). To compute Gaussian derivative in o

Determine the value of resistance, Determine the value of Resistance: ...

Determine the value of Resistance: Determine the value of R, so that the condition for resonance is fulfilled Figure Solution Admittance of first branch

What is power gain, Q. What is power gain? Power gain is the ratio of p...

Q. What is power gain? Power gain is the ratio of power delivered to the load to power delivered to the amplifier is the power gain. A p =P o /P i     =V o I o /V i I s

How many types of buses are, There are three types of buses. Address bu...

There are three types of buses. Address bus: This is used to carry the Address to the memory to get either Instruction or Data. Data bus : This is used to take the Data from

Explain mesh - current method, Q. Explain Mesh - Current Method? This c...

Q. Explain Mesh - Current Method? This complements the nodal-voltage method of circuit analysis. A set of independent mesh-current variables that implicitly satisfy the KCL equ

What are concentrators, Q. What are concentrators? Elucidate how it helps i...

Q. What are concentrators? Elucidate how it helps in connecting number of subscribers. Ans: In rural areas, subscribers are usually dispersed. It is both expensive and unn

Mutual inductance and coefficient of coupling, Mutual inductance and coeffi...

Mutual inductance and coefficient of coupling: The equivalent inductance of two series connected coil (with mutual inductance among them) is 0.8 or 0.2 Henry based on the rela

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