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

assembly language program , Write an Assembly language program that will p...

Write an Assembly language program that will produce a PWM signal with a desired average voltage. The user selects the desired average voltage by pressing keys 1 - 4. If the

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

Find percent error of both meters when measuring a current, Q. Error specif...

Q. Error specifications on a 10-A digital ammeter are given as 0.07% of the reading, 0.05% of full scale, 0.005% of the reading per degree Celsius, and 0.002% of full scale per deg

What is dmx, What is DMX? It is a communications protocol between step ...

What is DMX? It is a communications protocol between step motors, actuators and an electronic circuit. A kind of language among elements there different manufacturers can use c

Calculate the resistivity of an alloy of copper, The resistivity of pure co...

The resistivity of pure copper is 1.56 micro-ohm -cm.  An alloy of copper contains 1 atomic percent nickel has a resistivity of 2.81 micro-ohm-cm. An alloy of copper containing 3-

Forth generation, Forth Generation VLSI  technology  of IC made it poss...

Forth Generation VLSI  technology  of IC made it possible  to design the  complete  circuit  of ALU  Arithmetic  logic unit and cu ( Control Unit ) within  single  chip  which

Describe binary number system, Q. Describe binary number system? The bi...

Q. Describe binary number system? The binary number system has a base of 2 with two distinct digits (bits), 1 and 0. A binary number is expressed as a string of 0s and 1s, and

Voltage, Voltage, current, and charge control: The collector-emitter c...

Voltage, current, and charge control: The collector-emitter current can be seen as being controlled through the base-emitter current (current control), or through the base-emi

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