Section 7 Instruction Set
SH7751 Group, SH7751R Group
Page 200 of 1128
R01UH0457EJ0301 Rev. 3.01
Sep 24, 2013
Table 7.5
Logic Operation Instructions
Instruction Operation
Instruction Code
Privileged
T Bit
AND
Rm,Rn
Rn & Rm
→
Rn
0010nnnnmmmm1001
— —
AND
#imm,R0
R0 & imm
→
R0
11001001iiiiiiii
— —
AND.B #imm,@(R0,GBR) (R0 + GBR) & imm
→
(R0 +
GBR)
11001101iiiiiiii
— —
NOT Rm,Rn
~Rm
→
Rn
0110nnnnmmmm0111
— —
OR
Rm,Rn
Rn | Rm
→
Rn
0010nnnnmmmm1011
— —
OR
#imm,R0
R0 | imm
→
R0
11001011iiiiiiii
— —
OR.B
#imm,@(R0,GBR) (R0 + GBR) | imm
→
(R0 +
GBR)
11001111iiiiiiii
—
TAS.B @Rn
When (Rn) = 0, 1
→
T
Otherwise, 0
→
T
In both cases, 1
→
MSB of (Rn)
0100nnnn00011011
— Test
result
TST
Rm,Rn
Rn & Rm; when result = 0,
1
→
T
Otherwise, 0
→
T
0010nnnnmmmm1000
— Test
result
TST
#imm,R0
R0 & imm; when result = 0,
1
→
T
Otherwise, 0
→
T
11001000iiiiiiii
— Test
result
TST.B #imm,@(R0,GBR) (R0 + GBR) & imm; when result
= 0, 1
→
T
Otherwise, 0
→
T
11001100iiiiiiii
— Test
result
XOR Rm,Rn
Rn
∧
Rm
→
Rn
0010nnnnmmmm1010
— —
XOR #imm,R0
R0
∧
imm
→
R0
11001010iiiiiiii
— —
XOR.B #imm,@(R0,GBR) (R0 + GBR)
∧
imm
→
(R0 +
GBR)
11001110iiiiiiii
— —
Содержание SH7751 Group
Страница 2: ...Page ii of liv R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 30: ...Page xxx of liv R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 46: ...Page xlvi of liv R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 54: ...Page liv of liv R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 190: ...Section 4 Caches SH7751 Group SH7751R Group Page 136 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 226: ...Section 5 Exceptions SH7751 Group SH7751R Group Page 172 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 264: ...Section 7 Instruction Set SH7751 Group SH7751R Group Page 210 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 320: ...Section 9 Power Down Modes SH7751 Group SH7751R Group Page 266 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 344: ...Section 10 Clock Oscillation Circuits SH7751 Group SH7751R Group Page 290 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 388: ...Section 12 Timer Unit TMU SH7751 Group SH7751R Group Page 334 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 800: ...Section 17 Smart Card Interface SH7751 Group SH7751R Group Page 746 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 848: ...Section 19 Interrupt Controller INTC SH7751 Group SH7751R Group Page 794 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 876: ...Section 20 User Break Controller UBC SH7751 Group SH7751R Group Page 822 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 1036: ...Section 22 PCI Controller PCIC SH7751 Group SH7751R Group Page 982 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 1152: ...Appendix C Mode Pin Settings SH7751 Group SH7751R Group Page 1098 of 1128 R01UH0457EJ0301 Rev 3 01 Sep 24 2013 ...
Страница 1185: ......
Страница 1186: ... SH7751 Group SH7751R Group User s Manual Hardware R01UH0457EJ0301 Previous Number REJ09B0370 0400 ...