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
Using the AddSub program from Ch3 under c:\Masm615\examples as a reference, write a program that subtracts three 16-bit integers using only registers. Insert a call DumpRegs statem

Write a program to solve problem 9, Summation Program, on page 179 of chapter 5 in the textbook (book:kip Irvine Assembly Language sixth edition)

CANI GET HELP WRITTING THIS CODE

Modes of 8254 :   Mode 0 (Interrupt on Terminal Count)-GATE which value is 1 enables counting and GATE  which value is 0 disables counting, and GATE put not effect on

#include"lcd.asm"       ; assembly file is included for displaying lcd characters Main: PORTA EQU 0xF80  ; PORTS PORTB EQU 0xF81 PORTC EQU 0xF82 PORTD EQU 0xF83 R

DEC : A powerful new Alpha 64 bit RISC computer chip was introduced in the year 1977, as new VAX (Virtual Address Extension) Computer. The VAX was 32 bit computer line based on


You are to create an assembly program for the MSP430 that correctly measures the wind direction, to a precision of 45° (N, NW, W, SW, S, SE, E, NE), using the MSP430's ADC. Your

Interrupt System Based on Multiple 8259As A multiple 8259A interrupt system is diagrammed in given figure in this figure data bus drivers are not indicated, but they could be i

Hand shaking : Handshaking, or 2-way handshaking, is 1 type of strobe operation. It typically involves 2 handshaking lines: an output line to denote when the board is ready an