Das-arithmetic instruction-microprocessor, Assembly Language

DAS: Decimal Adjust after Subtraction:- This instruction converts the result of subtraction operation of 2 packed BCD numbers to a valid BCD number. The subtraction operation has to be only in the AL. If the lower nibble of AL is higher than the value 9, this instruction will subtract 06 from lower nibble of the AL. If the output of subtraction operation sets the carry flag or if the upper nibble is higher than value 9, it subtracts 60H from the AL. This instruction modifies the CF, AF, PF, SF and ZF flags. The OF is not defined after DAS instruction. The instance is following:

Example :

1988_DAS.jpg

Posted Date: 10/12/2012 1:55:06 AM | Location : United States







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

Write discussion on Das-arithmetic instruction-microprocessor
Your posts are moderated
Related Questions
Convert 751 to hex and show what it would look like stored at TheNumber WORD ? (hint: answer in hex pairs)

How is bob different from johnny in the outsiders

You have to write a subroutine (assembly language code using NASM) for the following equation.

Write an assembly language program to perform a rot13 1 conversion on characters in a text file.  The program should read charatcers from the input file, perform the rot13 convers

Using the following table as a guide, write a program that asks the user to enter an integer test score between 0 and 100. The program should display the appropriate letter grade.

Assembly Language Example Programs We studied the entire instruction set of 8086/88, pseudo-ops and assembler directives. We have explained the process of entering an assembly

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


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

this is my first project i dont know where to start