Intel 8XC196K Series User Manual page 487

Table of Contents

Advertisement

8XC196K x , J x , CA USER'S MANUAL
Table A-8. Instruction Lengths and Hexadecimal Opcodes
Mnemonic
Length
ADD (2 ops)
ADD (3 ops)
ADDB (2 ops)
ADDB (3 ops)
ADDC
ADDCB
CLR
CLRB
CMP
CMPB
CMPL
DEC
DECB
EXT
EXTB
INC
INCB
SUB (2 ops)
SUB (3 ops)
SUBB (2 ops)
SUBB (3 ops)
SUBC
SUBCB
NOTES:
1.
Indirect normal and indirect autoincrement share the same opcodes, as do short- and long-indexed
modes. Because word registers always have even addresses, the address can be expressed in the
upper seven bits; the least-significant bit determines the addressing mode. Indirect normal and short-
indexed modes make the second byte of the instruction even (LSB = 0). Indirect autoincrement and
long-indexed modes make the second byte odd (LSB = 1).
2.
For indexed instructions, the first column lists instruction lengths as S / L , where S is the short-indexed
instruction length and L is the long-indexed instruction length.
3.
For the SCALL and SJMP instructions, the three least-significant bits of the opcode are concatenated
with the eight bits to form an 11-bit, 2's complement offset.
A-48
Arithmetic (Group I)
Direct
Immediate
Opcode
Length
3
64
4
4
44
5
3
74
3
4
54
4
3
A4
4
3
B4
3
2
01
2
11
3
88
4
3
98
3
3
C5
2
05
2
15
2
06
2
16
2
07
2
17
3
68
4
4
48
5
3
78
3
4
58
4
3
A8
4
3
B8
3
Indirect
(Note 1)
Opcode
Length
Opcode
65
3
66
45
4
46
75
3
76
55
4
56
A5
3
A6
B5
3
B6
89
3
8A
99
3
9A
69
3
6A
49
4
4A
79
3
7A
59
4
5A
A9
3
AA
B9
3
BA
Indexed
(Notes 1, 2)
Length
Opcode
S/L
4/5
67
5/6
47
4/5
77
5/6
57
4/5
A7
4/5
B7
4/5
8B
4/5
9B
4/5
6B
5/6
4B
4/5
7B
5/6
5B
4/5
AB
4/5
BB

Advertisement

Table of Contents
loading

Table of Contents