English
Language : 

Z86E3016PSG Datasheet, PDF (301/348 Pages) Zilog, Inc. – Z86E3016PSG
Z8 CPU
User Manual
283
Example
If Working Register R5 contains 70h (01110000b), Register 45h con-
tains 3Ah, and Register 3Ah contains 7Fh (01111111b), the statement:
OR R5, @45h
Op Code: 45 45 E5
leaves the value 7Fh (01111111b) in Working Register R5. The Z, V, and
S flags are cleared.
Example
If Register 7Ah contains the value F3h (11110111b), the statement:
OR 7Ah, #F0h
Op Code: 46 7A F0
leaves the value F3h (11110111b) in Register 7Ah. The S Flag is set, and
the Z and V flags are cleared.
Example
If Working Register R3 contains the value 3Eh and Register 3Eh contains
the value 0Ch (00001100b), the statement:
OR @R3, #05h
Op Code: 57 E3 05
leaves the value 0Dh (00001101b) in Register 3Eh. The Z, V, and S flags
are cleared.
UM001602-0904
Instruction Description