CHAPTER 4 INSTRUCTION SET
User’s Manual U11047EJ3V0UM00
52
4.2.2 Instruction code list
Mnemonic
Operand
Instruction Code
B1
B2
B3
B4
MOV
r, #byte
0 0 0 0 1 0 1 0
1 1 1 1 R
2
R
1
R
0
1
Data
saddr, #byte
1 1 1 1 0 1 0 1
Saddr-offset
Data
sfr, #byte
1 1 1 1 0 1 1 1
Sfr-offset
Data
A, r
Note 1
0 0 0 0 1 0 1 0
0 0 1 0 R
2
R
1
R
0
1
r, A
Note 1
0 0 0 0 1 0 1 0
1 1 1 0 R
2
R
1
R
0
1
A, saddr
0 0 1 0 0 1 0 1
Saddr-offset
saddr, A
1 1 1 0 0 1 0 1
Saddr-offset
A, sfr
0 0 1 0 0 1 1 1
Sfr-offset
sfr, A
1 1 1 0 0 1 1 1
Sfr-offset
A, !addr16
0 0 1 0 1 0 0 1
Low addr
High addr
!addr16, A
1 1 1 0 1 0 0 1
Low addr
High addr
PSW, #byte
1 1 1 1 0 1 0 1
0 0 0 1 1 1 1 0
Data
A, PSW
0 0 1 0 0 1 0 1
0 0 0 1 1 1 1 0
PSW, A
1 1 1 0 0 1 0 1
0 0 0 1 1 1 1 0
A, [DE]
0 0 1 0 1 0 1 1
[DE], A
1 1 1 0 1 0 1 1
A, [HL]
0 0 1 0 1 1 1 1
[HL], A
1 1 1 0 1 1 1 1
A, [HL + byte]
0 0 1 0 1 1 0 1
Data
[HL + byte], A
1 1 1 0 1 1 0 1
Data
XCH
A, X
1 1 0 0 0 0 0 0
A, r
Note 2
0 0 0 0 1 0 1 0
0 0 0 0 R
2
R
1
R
0
1
A, saddr
0 0 0 0 0 1 0 1
Saddr-offset
A, sfr
0 0 0 0 0 1 1 1
Sfr-offset
A, [DE]
0 0 0 0 1 0 1 1
A, [HL]
0 0 0 0 1 1 1 1
A, [HL + byte]
0 0 0 0 1 1 0 1
Data
MOVW
rp, #word
1 1 1 1 P
1
P
0
0 0
Low byte
High byte
AX, saddrp
1 1 0 1 0 1 1 0
Saddr-offset
saddrp, AX
1 1 1 0 0 1 1 0
Saddr-offset
AX, rp
Note 3
1 1 0 1 P
1
P
0
0 0
rp, AX
Note 3
1 1 1 0 P
1
P
0
0 0
XCHW
AX, rp
Note 3
1 1 0 0 P
1
P
0
0 0
Notes 1. Except r = A.
2. Except r = A, X.
3. Only when rp = BC, DE, or HL.
Summary of Contents for 78K/0S Series
Page 2: ...User s Manual U11047EJ3V0UM00 2 MEMO ...
Page 14: ...User s Manual U11047EJ3V0UM00 14 MEMO ...
Page 28: ...User s Manual U11047EJ3V0UM00 28 MEMO ...
Page 118: ...User s Manual U11047EJ3V0UM00 118 MEMO ...
Page 120: ...User s Manual U11047EJ3V0UM00 120 MEMO ...