Daa decimal adjust accumulator instruction , Electrical Engineering

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


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.

Posted Date: 4/5/2013 12:28:31 AM | Location : United States

Related Discussions:- Daa decimal adjust accumulator instruction , Assignment Help, Ask Question on Daa decimal adjust accumulator instruction , Get Answer, Expert's Help, Daa decimal adjust accumulator instruction Discussions

Write discussion on Daa decimal adjust accumulator instruction
Your posts are moderated
Related Questions
This assignment is to develop a User Requirements Specification for an electronic monitor and alarm system for an Oil Separator in Surface Water Drainage Systems. These separato

Demodulation of SSB signals also requires the use of a phase-coherent reference. Figure shows the general configuration to demodulate the SSBsignal.Asmall carrier component, which

Activities to Preparing Long-term Plans 1. Data collection regarding existing loads, forecast of expected loads, operating conditions, and etc. from Grid substation up to cons

Selection of Right- Flex : It is also important that the flex we choose is appropriate to the appliance used. Like fuses, the cables and flexes are also rated according to their

Hello I am doing a Btec degree in Electrical and electronic engineering and I was wondering if you can help me complete it because I am behind

List the operation modes of 8255 a) I.O Mode i. Mode 0-Simple Input/Output. ii. Mode 1-Strobed Input/Output (Handshake mode) iii. Mode 2-Strobed bidirectional mode

Binary  Division Similar  to multiplication  division can be seen  multiple  subtractions.  For example  if we have to divide 9 by 4  we can subtract 4 ,2,  times  until is is

Q. Define wireless communications? The latest wireless communications technology is the personal satellite phone. The coverage is planetary and one can reach anywhere on earth.