
Chapter 5. Application instructions
5-4
-
Execution conditions
2) Program example
-
While the M020 is on, reverse the data of P02 word and transfer the result to P06 word.
CMOV P02 P06
M020
16 bits
0
0
1
1
1
0
0
0
1
1
0
1
0
0
1
1
1
1
0
0
0
1
1
1
0
0
1
0
1
1
0
0
Reverse
P02
P06
Input condition
CMOV, DCMOV
CMOVP, DCMOVP
Executed only once
Executed only once
Executed per scan
Executed per scan