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
write and run a programme using 8086 assembly language that interchange the lower four bits of AL registered with upper four bits.


Overview of Intel Pro-Pentium : The 2 chief players in the PC CPU market are Motorola and Intel.  Intel has enjoyed incredible success with its processors since the early 1980

Write an Lc-3 assembly language program to read in a sequence of single-digit positive integers from the keyboard(one integer per line) until the sentinel value of 0 is reached and

How to print strings in Right Triangle form?

AAM: ASCII Adjust for Multiplication after execution. This instruction converts the product available in the AL into unpacked BCD format.  This follows a multiplication   instruct

i have a question.

Could I get an estimate on how much it would cost to write a program in assembly language?

The Intel Processors :         The Intel Corporation is the biggest manufacturer  of microchips  in the world,  in addition  to being  the leading provider of chips for PCs. I

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/