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

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.

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
Differentiate between n and p type semiconductors. n - Type semiconductor:- (i) If small amount of pentavalent impurity is added with, to a pure semiconductor giving a la

how to make a underwater propulsion system?

Need a project in Optoelectronic with simulation in Optispice or Matlab.with complete report and presentation. ANy ideat about project and how much does it cost.

Q. A rectangular loop is placed in the field of an infinitely long straight conductor carrying a current of I amperes, as shown in Figure. Find an expression for the total

Define super scalar architecture. Super scalar architecture: The Pentium microprocessor is organized along with three execution units. Individual executes floating-point inst

The block diagram for a 3-bit ripple counter is shown in Figure (a). Obtain a state table for the number of pulses N = 0 to 8, and draw a state diagram to explain its operation.

Use delta-wye transformation for network reduction and determine the current through the 12- resistor in the circuit of Figure(a).

Explain keyboard interfacing to 8088 through 8279 . The 8279 is a programmable keyboard and display interfacing component which scans and encodes up to a 64-key keyboard and con


This is a project on music synthesis with sinusoids. The project requires programming effort in Matlab, a software package which is installed in the computer labs in the School of