20
µ
PD78C14(A)
Instruc-
tion group
Instruction code
Mnemonic
Operand
State
Operation
Skip
condition
B1
B2
B3
B4
A, r
0 1 1 0 0 0 0 0
8
A
←
A+r
r, A
0 0 1 0
8
r
←
r+A
1 1 1 0
A, r
8
A
←
A–r
r, A
A, r
r, A
0 1 1 0
1 1 1 1
0 1 1 1
8
r
←
r–A
8
A
←
A–r–CY
8
r
←
r–A–CY
8-bit arithmetic operation (register)
ANA
ORA
XRA
GTA
LTA
NEA
A, r
r, A
A, r
r, A
A, r
r, A
1 0 0 1 0 R
2
R
1
R
0
A, r
0 0 0 1
r, A
0 0 1 1
1 1 1 0
0 1 1 0
0 0 1 1
8
8
8
8
8
8
8
8
8
8
8
8
8
8
A
←
A–r
r
←
r–A
A
←
A r
r
←
r A
A
←
A r
r
←
r A
A
←
A r
r
←
r A
A–r–1
r–A–1
A–r
r–A
A–r
r–A
ADDNC
SUB
SBB
SUBNB
A, r
A, r
r, A
A, r
r, A
1 0 1 0 0 R
2
R
1
R
0
1 0 1 1
0 0 1 0
0 0 0 1
1 0 0 0 1 R
2
R
1
R
0
0 0 0 0
1 0 0 1
1 0 1 1
1 0 1 0 1 R
2
R
1
R
0
No Zero
r, A
<
<
>
>
>
>
No Zero
Borrow
Borrow
No
Borrow
No
Borrow
No
Borrow
No
Carry
No
Carry
No
Borrow
*