English
Language : 

Z86E3016PSG Datasheet, PDF (304/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 Family of Microcontrollers
User Manual
286
Example
If Working Register R5 contains F0h (11110000b), Register 45h con-
tains 3Ah, and Register 3Ah contains 7Fh (01111111b), the statement:
XOR R5, @45h
Op Code: B5 45 E5
leaves the value 8Fh (10001111b) in Working Register R5. The S Flag is
set, and the C and V flags are cleared.
Example
If Register 7Ah contains the value F7h (11110111b), the statement:
XOR 7Ah, #F0h
Op Code: B6 7A F0
leaves the value 07h (00000111b) in Register 7Ah. The Z, V and S flags
are cleared.
Example
If Working Register R3 contains the value 3Eh and Register 3Eh contains
the value 6Ch (01101100b), the statement:
XOR @R3, #05h
Op Code: B7 E3 05
leaves the value 69h (01101001b) in Register 3Eh. The Z, V, and S flags
are cleared.
Instruction Description
UM001602-0904