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

Evaluate the current flowing in the direction from b to a, Q. A beam contai...

Q. A beam containing two types of charged particles is moving from A to B. Particles of type I with charge +3q, and those of type II with charge -2q (where -q is the charge of an e

Electrons and holes, E l e c t r ons and Holes For T> 0 K, t...

E l e c t r ons and Holes For T> 0 K, there would be some electrons in the otherwise empty conduction band, and some empty states in the otherwise filled valence ban

Gis based mapping of electrical network, GIS Based Mapping of Electrical Ne...

GIS Based Mapping of Electrical Network: You have learnt in which the Geographic Information System is a system of mapping of the complete electrical network. The question we

Matlab program for niquit, how to write a matlab program for TITO system to...

how to write a matlab program for TITO system to draw nyquit plots.

Evaluate the efficiency of embedded systems, Questions: a) One common ...

Questions: a) One common characteristic of Embedded Systems is that they need to be dependable. Name and describe any three aspects which encompass dependability. b) Name

Installed in circuit board, Can we measure the resistor if it is installed ...

Can we measure the resistor if it is installed in circuit board? Ans) You can calculate a resistor in a circuit but the circuit will most likely affect the value read (general

Designated consumers - features of energy conservation, Designated Consumer...

Designated Consumers - Features of Energy Conservation The Act gives the list of designated consumers, which involves the energy intensive industries, Railways, Port Trust, Tr

Handshaking receiver system, You should document each step of each iteratio...

You should document each step of each iteration of your design. 1. You should include the following items from your preparation. a. A state diagram of the handshaking receive

Input output, Input output The parallelogram symbol  is used to repres...

Input output The parallelogram symbol  is used to represent the input output  process as shown  below.                 IN01H

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