ADVANCE
INFORMATION
SUBB
bit:
15
14
13
12
11
10
9
8
7
6
5
4
3
CS5954AM
2
1
0
0100
destination:= destination 鈥?source 鈥?carry bit
Flags Affected: Z, C, O, S
CMP
bit:
15
14
13
12
11
10
source
Destination
9
8
7
6
5
4
3
2
1
0
0101
[not saved] = destination 鈥?source
Flags Affected: Z, C, O, S
AND
bit:
15
14
13
12
11
10
source
Destination
9
8
7
6
5
4
3
2
1
0
0110
destination:= destination and source
Flags Affected: Z, S
TEST
bit:
15
14
13
12
11
10
source
Destination
9
8
7
6
5
4
3
2
1
0
0111
[not saved]:= destination and source
Flags Affected: Z, S
OR
bit:
15
14
13
12
11
10
source
Destination
9
8
7
6
5
4
3
2
1
0
1000
destination:= destination | source
Flags Affected: Z, S
XOR
bit:
15
14
13
12
11
10
source
Destination
9
8
7
6
5
4
3
2
1
0
1001
destination:= destination ^ source
Flags Affected: Z, S
source
Destination
8.18
Jcc
bit:
Program Control Instructions
JUMP RELATIVE cccc
15
14
13
12
11
10
cccc
9
8
7
0
6
5
4
3
Offset
2
1
0
1100
PC:= PC + (offset*2) (offset is a 7-bit
signed
number from 鈥?4..+63)
JccL JUMP ABSOLUTE cccc
bit:
15
14
13
12
11
10
cccc
9
8
7
1
6
0
5
4
3
2
1
0
1100
Destination
PC:= [destination] (destination is computed in the normal fashion for operand fields)
Rcc
RET cccc
bit:
PC:= [R15]
R15++
Document #: 38-08025 Rev. **
Page 32 of 44
15
14
13
12
11
10
cccc
9
8
7
1
6
0
5
4
3
2
1
0
1100
010111