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

Sketch the resulting transfer curves, Q. Consider the MOSFET circuit with v...

Q. Consider the MOSFET circuit with variable voltage, with RD = 2k and VDD = 12 V. The static characteristics of the n-channel enhancement MOSFET are given in Figure. (a) Drawt

Show voltage wave form of rlc series circuit, Q. The voltage wave form of F...

Q. The voltage wave form of Figure is applied to an RLC series circuit with R = 2, L = 2H, and C = 1 F. Obtain i(t) in the series circuit. (Note that the capacitor and inductor va

Transformer, how back emf is produced in transformer?

how back emf is produced in transformer?

First generation 1946- 1654 - history of computer, First Generation (1946- ...

First Generation (1946- 1654) In the  first  generation computer  vacuum tubes and valves were used. These computer were very large in size ( thousands of square feet on the fl

Calculate the current flowing through the inductor, The circuit is altered ...

The circuit is altered by replacing the capacitor, C1 with an inductor of 150mH and left with the switch in position (a) for a long time. At time t=0, the switch is moved from posi

Calculate the magnitude of fault current, Figure shows an isolated three-ph...

Figure shows an isolated three-phase load supplied from a 33 kV/11 kV substation via a 30 km long three-phase 11 kV overhead line. The overhead line has the following series parame

Illustrate the satellites in outer space, Illustrate the satellites in oute...

Illustrate the satellites in outer space Satellites in outer space transmit signals to Earth. Computers in vehicles (for example car, airplane or ship) receive and interpret th

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