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
REP : Repeat Instruction Prefix :- This instruction is utilized as a prefix to other instructions. The instruction in which the REP prefix is provided, is executed repetitively


Write an 8086 program to find out the number of positive numbers and negative numbers from a given series of signed numbers include flow chart ..

Programming with an assembler The procedure of hand-coding 8086 programs is somewhat tiresome; hence generally a programmer may find it hard to get a correct listing of the mac

The Pentium   The next member of the Intel family of microprocessors was the Pentium, introduced in the year 1993. With the Pentium, Intel broke its custom of numeric model name

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

You have to write a subroutine (assembly language code using NASM) for the following equation. Dx= ax2+(ax-1)+2*(ax+2)/2

This is a short program to practice assembly language loops and if/else statements. You will use various jump commands and the cmp instruction. The program will generate a random

Assume that the registers are initialized to EAX=12345h,EBX =9528h ECX=1275h,EDX=3001h sub AH,AH sub DH,DH mov DL,AL mov CL,3 shl DX,CL shl AX,1 add DX,AX

DIV: Unsigned Division:- This instruction performs unsigned division operation. It divides an unsigned word or double word by a 16-bit or 8-bit operand. The dividend might be in t