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

Determine the h-parameters for the network., Q. A negative impedance conver...

Q. A negative impedance converter circuit shown in Figure is used in some applications where inductors cannot be utilized or where negative resistance is beneficial. (a) Determi

How does expert system works, How does Expert system works? System uses...

How does Expert system works? System uses a rule base and an inference engine together to simulate human reasoning whenever analysing a problem and arriving at a conclusion. To

Explain the term half duplex transmission, Explain the term half duplex tra...

Explain the term half duplex transmission. A half duplex channel can receive and send, but not at similar time. It's as a one-lane bridge where two-way traffic should give way

Problem of current electricity, charges of +2q and -4q are fixed a distance...

charges of +2q and -4q are fixed a distance d apart as in figure_2(a).find electric field at the point A ,B and C (b) sketch roughly the electric field lines.

Calculate the maximum analog output voltage, Q. For the 4-bit D/A converter...

Q. For the 4-bit D/A converter of Figure, calculate: (a) The maximum analog output voltage. (b) The minimum analog output voltage. (c) The smallest detectable analog outpu

Working principle of an electronic voltmeter, Q.   Explain the working prin...

Q.   Explain the working principle of an electronic voltmeter. Sol. Electronic voltmeter Basic Voltmeter: The addition of a series resistor, or multiplier, converts the

What is voltage multiplying dacs, What is Voltage Multiplying DACs? Mul...

What is Voltage Multiplying DACs? Multiplying DACs function on the principle of producing a weighted sum analog signal where the sum is proportional to the digital input signal

Sketch the individual phase flux contributions, Q. Consider the balanced th...

Q. Consider the balanced three-phase alternating currents, shown in Figure, to be flowing in phases a, b, and c, respectively, of the two pole stator structure shown in Figure with

Determine the induced voltage at full load, A 100-kW, 250-V shunt generator...

A 100-kW, 250-V shunt generator has an armature-circuit resistance of 0.05  and a field- circuit resistance of 60 . With the generator operating at rated voltage, determine the i

Chemistry, what is the definition of laws of chemical combination ?

what is the definition of laws of chemical combination ?

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