Add-arithmetic instruction-microprocessor, Assembly Language

Assignment Help:

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)

 


Related Discussions:- Add-arithmetic instruction-microprocessor

Plus and underline , What is the hex for + and - under with a sum involved

What is the hex for + and - under with a sum involved

Zero flag, Zero flag: The next line compares the value in register. A ...

Zero flag: The next line compares the value in register. A with the value 1. If they are equivalent, the Zero flag is set (to 1). The next line then jumps to start: only if th

8086 assembly language program, move a byte string ,16 bytes long from the ...

move a byte string ,16 bytes long from the offset 0200H to 0300H in the segment 7000H

Program for game by using microcontroller 8051, I want to do a program as a...

I want to do a program as a game by using the Microcontroller 8051 with the assembly language, by using 4*4 keypad and its matrix display. I have to use the keypad for playing the

Operating systems, what would be the typical pricing for helping out on Ope...

what would be the typical pricing for helping out on Operating systems 1 assignments at UCI

Assembly language, how to find out the given number is positive or negative...

how to find out the given number is positive or negative?

Label-assemblers directive-microprocessor, LABEL :   The Label directive...

LABEL :   The Label directive which is used to assign a name to the current content of the location counter. At the beginning of the assembly process, the assembler start a loca

Summation Program., Write a program to solve problem 9, Summation Program, ...

Write a program to solve problem 9, Summation Program, on page 179 of chapter 5 in the textbook (book:kip Irvine Assembly Language sixth edition)

Instructions, Difference between div and idiv

Difference between div and idiv

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd