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 armature current and torque angle, Q. Determine the armature ...

Q. Determine the armature current and torque angle? A 1500-hp, 6600-V, six-pole, 60-Hz, three-phase, wye-connected, synchronous motor, with a synchronous reactance of 36 , neg

Motor., if load is removed so which motor will run fast? series or shunt?

if load is removed so which motor will run fast? series or shunt?

Overall performance indicator method, Overall Performance Indicator Method ...

Overall Performance Indicator Method Overall Performance Indicator could be derived from a combination of few of the specific core indicators. The way this combination is comm

Define shunt capacitors and reactors, Define Shunt Capacitors and Reactors ...

Define Shunt Capacitors and Reactors Shunt capacitors absorb leading VArs (i.e. they are used to supply lagging VArs) whereas reactors are used to absorbs lagging VArs. Capacit

Draw a circuit using the cascade system, Design and draw a circuit using th...

Design and draw a circuit using the cascade system to operate two cylinders (A and B) which, on the operation of a start valve, produces the sequence A - B + B - A+. The cylinder

Define spectrum of real signals, Define Spectrum of Real Signals? In th...

Define Spectrum of Real Signals? In the real world, we rarely come throughout a pure sine wave. Typical signals have a wide spectrum as displayed in the above diagram. Informat

Design a crossover circuit for loudspeaker, The aim of the research paper i...

The aim of the research paper is to design a crossover circuit for loudspeaker that will be used with a 2-way speaker. Circuit consists of the resistors, capacitors and operational

Explain the discovery of neutron. mention its properties, Explain the disco...

Explain the discovery of neutron. Mention its properties. Discovery of Neutron: The existence of neutron was first predicted by Rutherford in the year 1920. But it was discov

Subtract registers and borrow from accumulator, Subtract Registers and Borr...

Subtract Registers and Borrow from Accumulator The  contents of the  register  and borrow  flag  are subtracted from   the contents of the accumulator and the  result is  store

Vehicle tracking system, coding for vehicle tracking system using gsm in av...

coding for vehicle tracking system using gsm in avr atmega16 microcontroller

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