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
a pseudo-code to add username and password combination up to a limit of 10

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

init_lcd                        ;(this initialises a 2 row lcd)     bcf     TRISA,0             ;PORTA bit 0 as an output (lcd RS pin)     bcf     TRISA,1             ;PORTA bit 1

1. Write an assembly program that adds the elements in the odd indices of the following array. Use LOOP. What is the final value in the register? array1 DWORD 10, 20, 30, 40, 50, 6


The definitions of the bits in ICWI are following: Always set to the value 1. It directs the received byte to ICWI as oppose to OCW2 or OCW3. Which also utilize the even addr

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

write an assembly language program to find average of odd numbers from an array of 8 bit numbers

AAS: ASCII Adjust AL After Subtraction AAS instruction correct the result in the AL register after subtracting operation of two unpacked ASCII operands. The result is in unpacked

NASM assembly language program: Consider a sequence of 19 strictly positive decimal digits, most likely stored in an array. There are obviously duplicates, and the sequence is un