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

Illustrate procedure of hex to binary conversion, Q. Illustrate procedure o...

Q. Illustrate procedure of Hex to Binary Conversion? It is also simple to convert from an integer hex number to binary. This is achieved by: Convert the Hex number t

Explain about amplifier noise, Q. Explain about Amplifier noise? Amplif...

Q. Explain about Amplifier noise? Amplifier noise arises from both thermal sources (resistances) and nonthermal sources (semiconductor devices). Although nonthermal noise is no

Find the resistor values of rc, Apply the rule-of-thumb dc design presented...

Apply the rule-of-thumb dc design presented in this section for a silicon npn BJT with β = 70 when the operating Q point is defined by I CQ = 15 mA and I BQ = 0.3 mA, with a dc s

Example memory to registers , Example Memory to  Registers Example: ...

Example Memory to  Registers Example: Write  assembly  language  statement  to copy  data byte  36H  stored  at 2025 H  to register B. Solution : Assuming 2025 H is sto

Analogue and digital, 1. Pattern recognition A synchronous sequential machi...

1. Pattern recognition A synchronous sequential machine is to generate 1 on output z after the next clock pulse whenever the bit sequence on input x has exactly two 0’s in the last

Estimate the network resistance, When three resistors R1, R2 and R3 are con...

When three resistors R1, R2 and R3 are connected in parallel as shown in the diagram. For these resistors the equivalent resistance is given by: a. Derive a rule to

Hall effect - semiconductor, Explain hall affect and derive the mathematic...

Explain hall affect and derive the mathematical expression for hall coefficient, also describe its applications. Sol. Hall effect If a metal or semiconductor material carr

Newton''s laws of motion in terms of particle motion, 1. Sum of forces is z...

1. Sum of forces is zero velocity remains constant.[If the particle is initially at rest, it will remain at rest for as long as the sum of the forces is zero]. 2. Sum F of for

Design a signal generator, Aims Exploring the analog output capabili...

Aims Exploring the analog output capabilities of the PIC trainer Write PIC assembly code to implement a simple multi-function signal generator Equipment PIC Trainer

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