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

Terms with respect to d.c machine, Q.  Define coil pitch, Back pitch, fron...

Q.  Define coil pitch, Back pitch, front pitch, pole pitch, commutator pitch, resultant pitch, Multiplex winding and degree of Re-entrant of a winding, with respect to a D.C. mach

Decrement contents of register - dcr decrement , Decrement  contents of Re...

Decrement  contents of Register The contents of register R will be decremented  by one and  the result is stored  in the same register  R. It is also  an exceptional  case i

Obtain plots by using probe, Q. A dc source is connected to a series RLC ci...

Q. A dc source is connected to a series RLC circuit by a switch that closes at t = 0, as shown in Figure, with initial conditions. For the values of R = 20, 40, and 80 , solve for

Which stack is used in 8085, LIFO (Last In First Out) stack is used in 8085...

LIFO (Last In First Out) stack is used in 8085.In this type of Stack the last kept information can be retrieved first.

Gets parameters data display, On running the simulation, a data display wil...

On running the simulation, a data display will automatically open, similar to that shown in figure. The red circle is the source mismatch stability curve. This will give an indicat

Guarding Against Loss in Transformers, Guarding Against Loss in Transformer...

Guarding Against Loss in Transformers Distribution transformers are expected to convert up to 95-98% of the input power into usable output power. A distribution transformers i

Control system, model reference adaptive controller for interacting coupled...

model reference adaptive controller for interacting coupled tank

Delay line in CRO, why we use delay line in CRO what happens if we not use ...

why we use delay line in CRO what happens if we not use it?

Interpoles, These are small poles fixed to the yoke and spaced in b/w the m...

These are small poles fixed to the yoke and spaced in b/w the main poles. They are wound with comparatively few heavy gauge Cu wire turns and are connected in series with the armat

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