AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Syntax:          EOR {<cond>}{S} <destination>, <operand1>, <operand2>
Operation:     destination = operand one EOR operand two
Flags:          N,Z,(C)

This operation performs a logical bitwise EOR operation between its two operands, with the result being placed in the destination register.

Note: EOR is very useful in 'toggling' data between two pre-defined values. For example, the register R0 can be toggled between 65 and 90 by EORing its contents with 27:
.loop
EOR R0,R0,#27
B   loop       ; not useful

[sh-index] Back to list of manuals