
Chapter 5. Application instructions
5-88
-
Execution conditions
2) Program examples
-
Program that dissociate the contents of lower 3 nibbles of P02 word to lower 4 bits of D0000 ~
D0003 when P030 is switched on.
Input condition
DIS
DISP
Executed only once
Executed only once
Executed per scan
Executed per scan
DISP P02 D0000 3
P030
0
1
0
0
0
0
1
1
0
0
1
0
0
0
0
1
D
C
F
E
9
8
B
A
5
4
7
6
1
0
3
2
0000 0000 0000
0001
0000 0000 0000
0010
0000 0000 0000
0011
D0000
D0001
D0002
P02
F
4
0
3