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
CMPS : Compare String Byte or String Word:-The CMPS instruction may be utilized to compare two strings of Words or byte. The length of the string ought to be stored in the CX. If

Write Policy A write policy determines how the cache deals with a write cycle. The 2 common write policies areWrite-Throughand Write-Back. In Write-Back policy, the cache behav

A good starting point for your program is the toupper.asm program shown in class. It already queries the user for input and sets up a loop that looks at each character of the input

Maximim and Minimum mode 8088 system : In the maximum mode, the pin 880 is lastingly high. The functions and timings of other pins of 8088 are exactly similar to 8086. Due to t

There are 3 kinds of OCWs. The command word OCWI is utilized for masking the interrupt requests; when the mask bit corresponding to an interrupt request is value 1, then the requ

Prime Finder - assembly program: Problem:  Prime Finder   In this problem you will write a small program that tests whether a given integer is a prime number or not.  Let's

DMA DMA stands for Direct Memory Access It is uses same Address/Data lines on ISA bus It controls the ISA bus instead of the processor ("bus master") Floppy

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

8251 Programmable/Communication Interface As an instance of a serial interface device let us suppose Intel's 8251 A programmable communication interfaces. The 8251A is diagram

AAD: ASCII Adjust for Division though the names of these 2 instructions (AAM and AAD) seem to be same, there is many difference between their functions. The AAD instruction conver