Test-logical instruction-microprocessor, Assembly Language

TEST : Logical Compare Instruction: The TEST instruction performs bit by bit logical AND operation on the 2 operands. Each bit of the result is then set to value I, if the equivalent bits of both operands are I, else the result bit is reset to  value 0. The result of this ending operation is not available for further use) but flags are affected. The affected flags are CF, OF, WF, SF and PF. The operands might be registers, immediate data or memory. The instance of this instruction are as follows:

Example :

 

1.  TEST       AX,         BX

2.  TEST       [0500], 06H

3.  TEST       [BX]       [Dl],       CX

Posted Date: 10/12/2012 2:41:30 AM | Location : United States







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

Write discussion on Test-logical instruction-microprocessor
Your posts are moderated
Related Questions
Register Organization of 8086 8086  has  a great  set  of registers  containing  special  purpose and general  purpose  registers.  All the 8086 resisters are 16-bit registers.

Interrupt When the CPU detects an interrupt signal, it stops activity of current and jumps to a special routine, known an interrupt handler. This handler then detects why the i

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

8254 Programmable Timer A diagram of Intel's 8254 interval event/timer counter is given in Figure. The 8254 consists of 3 identical counting circuits, per of which has GATE and

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

Write a program to evaluate the following expression. You are to evaluate the following equation: num1 - (input + num2) - (num3 + num4) Input will be a hex number input by

can any one help me in my project by using assembly language

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

I have two homework assignments due in 10 hours for the x86 processor assembly language

a program that display English letters excluding vowels