XA User Guide 6-132 4/17/98
OR Logical OR
Syntax: OR dest, src
Description: Bitwise logical OR the contents of the source to the destination. The byte or word
specified by the source operand is logically ORed to the variable specified by the destination
operand. The source data is not affected by the operation.
Size: Byte-Byte, Word-Word
Flags Updated: N, Z
OR Rd, Rs
Bytes: 2
Clocks: 3
Operation: (Rd) <-- (Rd) + (Rs)
Encoding:
OR Rd, [Rs]
Bytes: 2
Clocks: 4
Operation: (Rd) <-- (Rd) + ((WS:Rs))
Encoding:
OR [Rd], Rs
Bytes: 2
Clocks: 4
Operation: ((WS:Rd)) <-- ((WS:Rd)) + (Rs)
Encoding:
0 1 1 0 SZ 0 0 1 d d d d s s s s
0 1 1 0 SZ 0 1 0 d d d d 0 s s s
0 1 1 0 SZ 0 1 0 s s s s 1 d d d