CHAPTER 4 INSTRUCTION SET
User’s Manual U11047EJ3V0UM00
54
Mnemonic
Operand
Instruction Code
B1
B2
B3
B4
OR
A, #byte
0 1 1 1 0 0 1 1
Data
saddr, #byte
0 1 1 1 0 0 0 1
Saddr-offset
Data
A, r
0 0 0 0 1 0 1 0
0 1 1 1 R
2
R
1
R
0
1
A, saddr
0 1 1 1 0 1 0 1
Saddr-offset
A, !addr16
0 1 1 1 1 0 0 1
Low addr
High addr
A, [HL]
0 1 1 1 1 1 1 1
A, [HL + byte]
0 1 1 1 1 1 0 1
Data
XOR
A, #byte
0 1 0 0 0 0 1 1
Data
saddr, #byte
0 1 0 0 0 0 0 1
Saddr-offset
Data
A, r
0 0 0 0 1 0 1 0
0 1 0 0 R
2
R
1
R
0
1
A, saddr
0 1 0 0 0 1 0 1
Saddr-offset
A, !addr16
0 1 0 0 1 0 0 1
Low addr
High addr
A, [HL]
0 1 0 0 1 1 1 1
A, [HL + byte]
0 1 0 0 1 1 0 1
Data
CMP
A, #byte
0 0 0 1 0 0 1 1
Data
saddr, #byte
0 0 0 1 0 0 0 1
Saddr-offset
Data
A, r
0 0 0 0 1 0 1 0
0 0 0 1 R
2
R
1
R
0
1
A, saddr
0 0 0 1 0 1 0 1
Saddr-offset
A, !addr16
0 0 0 1 1 0 0 1
Low addr
High addr
A, [HL]
0 0 0 1 1 1 1 1
A, [HL + byte]
0 0 0 1 1 1 0 1
Data
ADDW
AX, #word
1 1 0 1 0 0 1 0
Low byte
High byte
SUBW
AX, #word
1 1 0 0 0 0 1 0
Low byte
High byte
CMPW
AX, #word
1 1 1 0 0 0 1 0
Low byte
High byte
INC
r
0 0 0 0 1 0 1 0
1 1 0 0 R
2
R
1
R
0
1
saddr
1 1 0 0 0 1 0 1
Saddr-offset
DEC
r
0 0 0 0 1 0 1 0
1 1 0 1 R
2
R
1
R
0
1
saddr
1 1 0 1 0 1 0 1
Saddr-offset
INCW
rp
1 0 0 0 P
1
P
0
0 0
DECW
rp
1 0 0 1 P
1
P
0
0 0
ROR
A, 1
0 0 0 0 0 0 0 0
ROL
A, 1
0 0 0 1 0 0 0 0
RORC
A, 1
0 0 0 0 0 0 1 0
ROLC
A, 1
0 0 0 1 0 0 1 0
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 ...