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

Band Pass active filter, How to design band pass active filer? Any software...

How to design band pass active filer? Any software avaialble

Short circuits effect on cables, When you have a three phase short circuit ...

When you have a three phase short circuit of power cables laid in a trefoil formation they repel apart very dramatically. Why is this and what is happening?

Terminal, Terminal The  oval symbol  show below in  indicate terminal ...

Terminal The  oval symbol  show below in  indicate terminal of the  program.  Usually  words  like START BEGIN  STOP END  are written  in terminal symbol.           START

Microcontroller - introduction to microprocessors , Microcontroller Mic...

Microcontroller Microcontroller  is also known  as computer  on a chip  this  includes basic  features of microprocessor (ALU Registers  and control circuits ) with  1 k to 2k

Electrical machine, Explain the principle of induction applied in electrica...

Explain the principle of induction applied in electrical machine

List the various addressing modes present in 8086, List the various address...

List the various addressing modes present in 8086? There are 12 addressing modes are present in 8086. They are, (a) Register and immediate addressing modes _  Register ad

Explain dipolar polarization, Explain dipolar polarization. Dipolar ...

Explain dipolar polarization. Dipolar polarization is a polarization which is particular to polar molecules. Such polarization results from permanent dipoles that retain po

Sensor selection, Submit a brief report on the selection of two commerciall...

Submit a brief report on the selection of two commercially available sensors for the following: • Research and recommend a sensor for a real full size conveyor system of approxima

Second quadrant or class b chopper, Second Quadrant or Class B Chopper ...

Second Quadrant or Class B Chopper Class B  chopper  is shown in figure in this  type of  chopper load  must contain  a dc source E ( may  be battery or a DC motor)  and induct

Comparison with vacuum tubes, Comparison with vacuum tubes: Prior to t...

Comparison with vacuum tubes: Prior to the growth of transistors, vacuum (electron) tubes (or in the UK (United Kingdom) "thermionic valves" or just "valves") were the major a

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