Add-arithmetic instruction-microprocessor, Assembly Language

ADD:  Add :- This instruction adds an immediate contents of a memory location specified in the a register ( source ) or instruction to the contents of another register (destination) or memory location. The outcome is in the destination operand. However, the source and destination both operands can't be memory operands.  That means memory and memory addition is impossible. Also the contents of segment registers can't be added by using this instruction. All of the condition code flags are affected, depending on the result. The instance of this instruction is given along with the equivalent modes.

Example :

1.            ADD       AX, 0100H           Immediate

2.            ADD       AX, BX                 Register

3.            ADD       AX, [SI]                Register indirect

4.            ADD       AX, [5000H]         Immediate

5.            ADD       [5000H] 0100H    Immediate

6.            ADD       0100H                 Destination AX (implicit)

 

Posted Date: 10/12/2012 1:11:05 AM | Location : United States







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

Write discussion on Add-arithmetic instruction-microprocessor
Your posts are moderated
Related Questions
DMA controller :     Steps include in transferring a block of data from I/O devices (for example a disk) to memory: 1. CPU sends a signal to initiate disk transfe


write an assembly program to display triangular star like shape

EVOLUTION OF MICROPROCESSOR : The digital circuits and systems may be broken into two part: 1) Sequential Circuit and 2) Combinational Circuits     Norm

I/O interface I/O  devices such as displays and keyboards  establish  communication of computer with outside world. Devices may be interfaced in 2 ways Memory mapped I/O and I/

how i can write a program to divide 2 numbers

You are to create an assembly program for the MSP430 that correctly measures the wind direction, to a precision of 45° (N, NW, W, SW, S, SE, E, NE), using the MSP430's ADC. Your

1 st Generation Microprocessor : At the end of the 70s a group of engineers developed a chip is able to processing data. This chip was called processor chip. Big processors w

#write a program 8086 to find the largest number

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