CHAPTER 4: INSTRUCTION SET
OR %r,%r'
Function: r
r
r'
Performs a logical OR operation of the content of the r' register (A or B) and the content of the r
register (A or B), and stores the result in the r register.
Code:
Mnemonic
OR %A,%A
OR %A,%B
OR %B,%A
OR %B,%B
Flags:
E
I
–
Src: Register direct
Mode:
Dst: Register direct
Extended addressing: Invalid
OR %r,imm4
Function: r
r
imm4
Performs a logical OR operation of the 4-bit immediate data imm4 and the content of the r
register (A or B), and stores the result in the r register.
Code:
Mnemonic
OR %A,imm4
OR %B,imm4
E
I
Flags:
–
Src: Immediate data
Mode:
Dst: Register direct
Extended addressing: Invalid
112
Logical OR of r' reg. and r reg.
MSB
1 1 0 1 1 0 1 1 1 0 0 0 X
1 1 0 1 1 0 1 1 1 0 0 1 X
1 1 0 1 1 0 1 1 1 0 1 0 X
1 1 0 1 1 0 1 1 1 0 1 1 X
C
Z
–
Logical OR of immediate data imm4 and r reg.
MSB
1 1 0 1 1 0 1 0 0 i3 i2 i1 i0 1B40H–1B4FH
1 1 0 1 1 0 1 0 1 i3 i2 i1 i0 1B50H–1B5FH
C
Z
–
EPSON
LSB
1B70H, (1B71H)
1B72H, (1B73H)
1B74H, (1B75H)
1B76H, (1B77H)
LSB
S1C63000 CORE CPU MANUAL
1 cycle
1 cycle