Daa-arithmetic instruction-microprocessor, Assembly Language

DAA: Decimal Adjust Accumulator:- This instruction is utilized to convert the result of the addition operation of 2 packed BCD numbers to a valid BCD number. The conclusion has to be only in the AL. If the lower nibble is greater than 9, after addition opraction or if AF is set, it will add 06 to the lower nibble in the AL. After adding 06 in the lower nibble of the AL, if the upper nibble of AL is higher than 9 or if carry flag is set, DAA instruction adds 60H to the AL. The instance given below explain the instruction.

Example :

1524_DAA1.jpg

1130_DAA2.jpg

The instruction DAA affects CF, AF, ZF, and PF flags. The OF is not defined.

Posted Date: 10/12/2012 1:51:36 AM | Location : United States







Related Discussions:- Daa-arithmetic instruction-microprocessor, Assignment Help, Ask Question on Daa-arithmetic instruction-microprocessor, Get Answer, Expert's Help, Daa-arithmetic instruction-microprocessor Discussions

Write discussion on Daa-arithmetic instruction-microprocessor
Your posts are moderated
Related Questions
Signal descriptions of 8086 : described below are common for the maximum andminimum mode bothdata lines AD15 -AD0: These are the time multiplexed andmemory I/O address. Addre

Program : A program to move a string of the data words from offset 2000H to offset 3000H the length of the string is OFH. Solution : For writing this program, we will use

Any small project which can implement on any software. No need any external hardware approach.

Interrupt Priority Management The interrupt priority management logic indicated in given figure can be implemented in several ways. It does not required to be present in system

ALP to preform of two 16-bit numbers in register addressing mode

given a sentence, find the number of times a particular character or word appear. the sentence is to be entered by the user

Tabular comparison for µ PS' Parameters Tables (a) and (b) list the characteristic of Intel microprocessor. Table(a):   Table(b): It has a 64 bit da

NEG: Negate:- The negate instruction forms the 2's complement of the particular destination in the instruction. For obtaining 2's complement, it subtracts the contents of destinat

* * * * **** * * * * * How can i print this help me pls

INTO : Interrupt on Overflow:- It is executed, when the overflow flag OF is set. The new contents of IP and CS register are taken from the address 0000:0000 as described in INT