32 / 44 page

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