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
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

Memory Segmentation : The  memory in an 8086/8088  based system is organized as segmented memory. In this scheme, the whole physically available memory can be divided into a n

Flag Manipulation and Processor Control Instructions These instructions control the functioning of available hardware inside the processor chip. These are categorized into thes

AND: Logical AND: This instruction bit by bit ANDs the source operand that might be an immediate, or a memory location or register to the destination operand that might be a memor

Using DEBUG DEBUG.COM is a DOS efficacy that facilitates the trouble-shooting and debugging of assembly language programs. In particular case of personal computers, all of th

Need help with 2 homework assignments

hi, i''m new to assembly language and my teacher told us to look for an example of the odd and even numbers program using debug.exe in ms dos as a guide since we just started. plea

ASSUME: Assume Logical Segment Name:- The ASSUME directive which is used to inform the assembler, the specified names of the logical segments to be consider for different segme

A/D conversion: Basic tasks: (a) Write a program that will read and display the analog voltage on pin PE7 approximately once every second. (b) Write a program that will read and d

hey ,, I need to know how to let a symbol moves with mouse ??