Dec-arithmetic instruction-microprocessor, Assembly Language

DEC:  Decrement :- The decrement instruction subtracts 1 from the contents of the particular memory location or register. All the conditions code flags except carry flag are affected depending on the result. Immediate data can't be operand of the instruction. The instance of this instruction are as follows:

Example :

1.  DEC        AX            Register

2.  DEC        [500OH]    Direct

Posted Date: 10/12/2012 1:21:40 AM | Location : United States







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

Write discussion on Dec-arithmetic instruction-microprocessor
Your posts are moderated
Related Questions
CISC Characteristics : The design of an instruction  set for a computer  might take into consideration  not only machine language constraints,  but  also  the  requirements  i

I can get it to copy the string but can''t get it to reverse it.

Program : Write an assembly program to find out the number of positive numbers and negative numbers from a given series of signed numbers. Solution : Take the i th num

How to print strings in Right Triangle form?

how to write the alp for matrix addition in microprocessor 8086?

Example : Write a program to move the contents of the memory location 0500H to BX and also to register CX. Add immediate byte 05H to the data residing in memory location, whose ad


Display control 8279  provides  a  16  byte  display  memory  and  refresh  logic.  Every address in the display memory corresponds to a display unit with address zero represen

LDS/LES Instruction execution :  LAHF : Load AH from Lower Byte of Flag: - This instruction loads the AH register with the lower byte of the flag register. This instruction ca

Write a program to evaluate the following expression. You are to evaluate the following equation: num1 - (input + num2) - (num3 + num4) Input will be a hex number input by