-
Notifications
You must be signed in to change notification settings - Fork 2
Bananattack edited this page Mar 5, 2011
·
4 revisions
The Language Reference - Instructions - xor
The command a: xor src
performs a bitwise XOR (exclusive OR) of the accumulator with contents of source argument src. The zero
and negative
p-flags are modified accordingly.
Usage | Opcode, 6502 mnemonic |
---|---|
a: xor #immediate |
0x49, xor
|
a: xor @direct |
0x4D, xor
|
a: xor @direct[x] |
0x5D, xor
|
a: xor @direct[y] |
0x59, xor
|
a: xor @zp |
0x45, xor
|
a: xor @zp[x] |
0x55, xor
|
a: xor @[zp[x]] |
0x41, xor
|
a: xor @[zp][y] |
0x51, xor
|