Xor-logical instruction-microprocessor, Assembly Language

XOR: Logical Exclusive OR: The XOR operation is again carried out in a similar way to the AND and OR operation. The constraint over operands are also similar. The XOR operation produces a high output, when the 2 input bits are not similar. Or else, the output is 0.

The example instructions are as follows:

Example:

754_XOR1.jpg

If the content of AX is 3FOFH, then the first instance instruction will be executed as described. The result 3F97H will be stored in AX.

1274_XOR2.jpg

Posted Date: 10/12/2012 2:37:19 AM | Location : United States





if (n<10)
n=n+1
else
n=n-1
n=0

how to write this command
Posted by nizam | Posted Date: 1/19/2013 8:59:23 PM


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

Write discussion on Xor-logical instruction-microprocessor
Your posts are moderated
Related Questions
implement the following c++ code in assembly language using the block-structured .IF and .while directives

take an integer and its base and the base in which you want to convert the number from user and perform conversion.

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

program to arrange a given set of numbers in descending order

2. Write a program to separate out positive and negative numbers from a given series of 16-bit hexadecimal numbers.

Part A: Bitwise Logical and Shift Operations Create a SPARC assembly language program that extracts a bit-field from the contents of register %l0. The position of the rightmos

DQ:   Define  Quad word:-  This directive is taken in use to direct the assembler to reserve 4 words (8 bytes) of memory for the specified variable and can initialise it having


program to find negative and positive integers from given signed numbers with output and explanation of every instructions.

When Seen in the choir, Terry was the picture of an angelic devil. I have to underline the predicate twice