Panasonic FP E Series User Manual page 371

Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents