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

Digital electronics, Design a recycling MOD 19 up counter using JK FFs. In ...

Design a recycling MOD 19 up counter using JK FFs. In your design, include the logic circuit diagram and the timing diagram output that counts from 000002 = 010 to 100112 = 1910. C

DLD, Draw a logic diagram to implement F=ABCDE using only 3 input AND gates...

Draw a logic diagram to implement F=ABCDE using only 3 input AND gates

When both mt2 and gate are negative, When both MT 2 and Gate  are Negativ...

When both MT 2 and Gate  are Negative In this case N 3   works as a remote gate. Current  flows form layer P 2 to layer  N 3 junction N 1 P 1 is reverse biased  and it  br

Explain basic working of integrators, Q. Explain basic working of Integrato...

Q. Explain basic working of Integrators? Figure shows a noninverting integrator, which can be seen to be a negative impedance converter added with a resistor and a capacitor. N

Explain about frequency shift keying, Q. Explain about Frequency Shift Keyi...

Q. Explain about Frequency Shift Keying? In this scheme frequency of the carrier signal is changed according to the data. Transmitter sends different frequencies for a "I" than

transmisson medium, Can I find out the salution of electrods Transmissio...

Can I find out the salution of electrods Transmission medium light sound uncoupling magnet for high dc cycle. I need to purches an electromagnet of this sort can you Please assis

Sampling, Write an m-file "sampling.m", which will take as an input:  a sig...

Write an m-file "sampling.m", which will take as an input:  a signal and a sampling step and will display the sampled signal and the magnitude of its Fourier transform. sampling

What are the modes used in keyboard modes, What are the modes used in keybo...

What are the modes used in keyboard modes? 1. Scanned Keyboard mode with 2 Key Lockout. 2. Scanned Keyboard particular Error Mode. 3. Scanned Keyboard with N-key Rollover

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