
40
μ
PD64A, 65
Data Sheet U14380EJ2V0DS00
OUT Pn, #data8
<1> Instruction code
:
0 0 1 1 0 1 1 P
2
P
1
P
0
:
0 d
7
d
6
d
5
d
4
0 d
3
d
2
d
1
d
0
: 1
: (Pn)
←
data8
<2> Cycle count
<3> Function
The immediate data is transferred to port Pn. In this case, port Pn refers to P
1n
-P
0n
operating in pairs.
n = 0, 1, 3, 4
9.6 Data Transfer Instructions
MOV A, R0n
MOV A, R1n
<1> Instruction code
<2> Cycle count
<3> Function
:
1 1 1 1 R
4
0 R
3
R
2
R
1
R
0
: 1
: (A)
←
(Rmn)
CY
←
0
m = 0, 1
n = 0 to F
The register Rmn contents are transferred to the accumulator.
MOV A, @R0H
<1> Instruction code
<2> Cycle count
<3> Function
:
1 1 1 1 0 1 0 0 0 0
: 1
: (A)
←
((P13), (R0))
7-4
CY
←
0
The high-order 4 bits (b
7
b
6
b
5
b
4
) of the program memory specified with control register P13 and register
pair R
10
-R
00
are transferred to the accumulator. b
9
is ignored.
MOV A, @R0L
<1> Instruction code
<2> Cycle count
<3> Function
:
1 1 1 1 1 1 0 0 0 0
: 1
: (A)
←
((P13), (R0))
3-0
CY
←
0
The low-order 4 bits (b
3
b
2
b
1
b
0
) of the program memory specified with control register P13 and register
pair R
10
-R
00
are transferred to the accumulator. b
8
is ignored.
Program memory (ROM) contents
b
9
b
8
b
7
b
6
b
5
b
4
b
3
b
2
b
1
b
0
@R
0
H
@R
0
L
MOV A, #data4
<1> Instruction code
:
1 1 1 1 1 1 0 0 0 1
:
0 0 0 0 0 0 d
3
d
2
d
1
d
0
: 1
: (A)
←
data4
CY
←
0
<2> Cycle count
<3> Function
The immediate data is transferred to the accumulator.