And-logical instruction-microprocessor, Assembly Language

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 memory location or register. The result is in the destination operand. At least 1 operand should be a register or a memory operand. Both of the operands can't be memory locations or immediate operands. An immediate operand can't be a destination operand. The instance of this instruction is as follows:

Example :

673_AND1.jpg

If the content of register AX is 3FOFH, the first instance instruction will carry out the operation as given below. The result 3F9FH will be in the AX register.

2420_AND2.jpg

The result 0008H will be in  register AX.

 

Posted Date: 10/12/2012 2:22:42 AM | Location : United States







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

Write discussion on And-logical instruction-microprocessor
Your posts are moderated
Related Questions
use">http://www.raritanval.edu/uploadedFiles/faculty/cs/full-time/Brower/CISY256/2013Spring/CISY256%20Assembly%20Project.pdf use microsoft visual 2010 and http://www.asmirvine.c

INC: Increment : - This instruction increments the contents of the particular memory or register location by the value 1. All the condition code flags are affected except the carry

NEG: Negate:- The negate instruction forms the 2's complement of the particular destination in the instruction. For obtaining 2's complement, it subtracts the contents of destinat

Arithmetic Instruction :               These instructions are usually perform the arithmetic operations, like subtraction ,multiplication, addition, and division along with th

Compute the Fibonacci sequence - assembly program: Problem: Fibonacci   In this problem you will write a program that will compute the first 20 numbers in the Fibonacci sequ

wap proram for bthe addition of two 3*3 matrix

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

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

how to code

1. Start your program at address $8500. To do this you need to inform the assembler, through the EQU and ORG assembler directives, that you want your program to start at $8500. Thi