12-79
Num-
ber
Name Boolean Operand Description Steps
Data compare instructions
F60
P60
16-bit data
compare
CMP
PCMP
S1, S2 (S1)>(S2)→R900A: on
(S1)=(S2)→R900B: on
(S1)<(S2)→R900C: on
5
F61
P61
32-bit data
compare
DCMP
PDCMP
S1, S2 (S1+1, S1)>(S2+1, S2)→R900A: on
(S1+1, S1)=(S2+1, S2)→R900B: on
(S1+1, S1)<(S2+1, S2)→R900C: on
9
F62
P62
16-bit data
band
compare
WIN
PWIN
S1, S2, S3 (S1)>(S3)→R900A: on
(S2)< or=(S1)< or=(S3)→R900B: on
(S1)<(S2)→R900C: on
7
F63
P63
32-bit data
band
compare
DWIN
PDWIN
S1, S2, S3 (S1+1, S1)>(S3+1, S3)→R900A: on
(S2+1, S2)< or=(S1+1, S1)< or=(S3+1,
S3)→R900B: on
(S1+1, S1)<(S2+1, S2)→R900C: on
13
F64
P64
Block data
compare
BCMP
PBCMP
S1, S2, S3 Compares the two blocks beginning with “S2” and
“S3” to see if they are equal.
7
Logic operation instructions
F65
P65
16-bit data
AND
WAN
PWAN
S1, S2, D (S1) AND (S2)→(D) 7
F66
P66
16-bit data
OR
WOR
PWOR
S1, S2, D (S1) OR (S2)→(D) 7
F67
P67
16-bit data
exclusive OR
XOR
PXOR
S1, S2, D {(S1) AND (S2)} OR {(S1) AND (S2)}→(D) 7
F68
P68
16-bit data
exclusive
NOR
XNR
PXNR
S1, S2, D {(S1) AND (S2)} OR {(S1) AND (S2)}→(D) 7
F69
P69
16-bit data
unite
WUNI
PWUNI
S1, S2, S3,
D
([S1] AND [S3]) OR ([S2] AND [S3])→(D)
When (S3) is H0, (S2)→(D)
When (S3) is HFFFF, (S1) →(D)
9