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

The three-phase alternator, The Three-phase alternator In this case, t...

The Three-phase alternator In this case, three separate sets of coils are wound on the stator and connected to produce three separate outputs. Because of the physical displace

Compute the terminal voltage and current of each generator, Q. Three dc gen...

Q. Three dc generators are operating in parallel with excitations such that their external characteristics are almost straight lines over the working range with the following pairs

Calculate generated emf, Q.  A shunt generator gives full load output of 3...

Q.  A shunt generator gives full load output of 30 kW at a terminal voltage of 200V. The armature and field resistance are 0.05? and 50? resp.. The iron and friction losses are 10

Determine voltage in given figure, Q. An n-channel JFET having V P = 3.5 V...

Q. An n-channel JFET having V P = 3.5 V and I DSS = 5 mA is biased by the circuit of Figure with V DD = 28 V, RS = 3000 , and R 2 = 100 k. If the operating point is given by

Derive lames equation for a thick cylinder, Derive Lame's equation for a th...

Derive Lame's equation for a thick cylinder subjected to internal pressure with clean diagrams. Evaluate the maximum and minimum hoop stresses across the section of a pipe of400

Determine the full load voltage regulation, A 3 phase 60 hertz induction m...

A 3 phase 60 hertz induction motor has 8 poles and operates with a slip of .05 for a certain load. Compute in r.p.m. the (a)speed of the rotor with respect to the stator, (b)spe

How can a jfet be used as a constant current source, Q. How can a JFET be u...

Q. How can a JFET be used as a constant current source? Explain from the drain characteristics. As the VDS voltage is increased from 0 to a few volts, the current will increase

Give the properties and application of cotton, Give the properties and appl...

Give the properties and application of cotton. Cotton : It is base material for insulating fibres. Properties: It can be enhanced by impregnating with varnish. 1)

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