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

Lift control unit, You are required to design and document  the hardware de...

You are required to design and document  the hardware design  for a 68HC12D60 based Lift Control Unit (LCU). This design includes  the Input/Output hardware for interfacing with  l

Name the materials used in case of fuses, Name the materials used in case...

Name the materials used in case of Fuses . Also give reasons. Fuses : For rewirable fuses, copper-tin and lead-tin alloy is used. For HRC and cartridge fuses silve

Semiconductor in equilibrium, Semiconductor  in Equilibrium Equilib...

Semiconductor  in Equilibrium Equilibrium in semiconductors implies the following: (i) Steady state: ∂Z / ∂t = 0 In which Z is any physical quantity like charge, volt

Write a brief note on common drain amplifier, Q. Write a brief note on comm...

Q. Write a brief note on common drain amplifier Since voltage at the gate-drain is more easily determined than that of the voltage at gate-source, the voltage source in the inp

Name the special functions registers available in 8051, Name the special fu...

Name the special functions registers available in 8051. Accumulator B Register Program Status Word. Stack Pointer. Data Pointer. Port 0 Port 1 Port 2 Po

Engineer, Transmission Through a LiNb0 3 Plate Examine the transmission of...

Transmission Through a LiNb0 3 Plate Examine the transmission of an unpolarized He-Ne laser beam (?o= 633 nm) normally incident on a LiNb0 3 plate (ne = 2.29, no = 2.20) of thickn

Explain pulse-code modulation, Q. Explain Pulse-Code Modulation? PCM is...

Q. Explain Pulse-Code Modulation? PCM is the simplest and oldest waveform coding scheme for processing an analog signal by sampling, quantizing, and binary encoding. Figure sho

Power transistor, Power Transistor A power  transistor  is a three laye...

Power Transistor A power  transistor  is a three layer  PNP  or NPN  semiconductor device  having  two  junctions. Three  terminals of power  transistors are collector emitter

Magnetic Bond Method:, how does the magnetic bond method work? Application ...

how does the magnetic bond method work? Application of the magnetic bong method & advantages and disadvantages of the magnetic bond method.

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