ST10 FAMILY PROGRAMMING MANUAL
21/172
Table 12 : Compare and loop instructions (continued)
Mnemonic
Description
Int.
ROM
Int.
RAM
16-bi
t N-M
ux
16-b
it Mu
x
8-bit
N-Mu
x
8-b
it Mux
B
ytes
CMPD1
Rw, #data
4
Compare immediate word data to direct GPR and
decrement GPR by 1
2
6
2
3
4
6
2
CMPD1
Rw, #data
16
Compare immediate word data to direct GPR and
decrement GPR by 1
2
8
4
6
8
12
4
CMPD1
Rw, mem
Compare direct word memory to direct GPR and
decrement GPR by 1
2
8
4
6
8
12
4
CMPD2
Rw, #data
4
Compare immediate word data to direct GPR and
decrement GPR by 2
2
6
2
3
4
6
2
CMPD2
Rw, #data
16
Compare immediate word data to direct GPR and
decrement GPR by 2
2
8
4
6
8
12
4
CMPD2
Rw, mem
Compare direct word memory to direct GPR and
decrement GPR by 2
2
8
4
6
8
12
4
CMPI1
Rw, #data
4
Compare immediate word data to direct GPR and
increment GPR by 1
2
6
2
3
4
6
2
CMPI1
Rw, #data
16
Compare immediate word data to direct GPR and
increment GPR by 1
2
8
4
6
8
12
4
CMPI1
Rw, mem
Compare direct word memory to direct GPR and
increment GPR by 1
2
8
4
6
8
12
4
CMPI2
Rw, #data
4
Compare immediate word data to direct GPR and
increment GPR by 2
2
6
2
3
4
6
2
CMPI2
Rw, #data
16
Compare immediate word data to direct GPR and
increment GPR by 2
2
8
4
6
8
12
4
CMPI2
Rw, mem
Compare direct word memory to direct GPR and
increment GPR by 2
2
8
4
6
8
12
4
Table 13 : Prioritize instructions
Mnemonic
Description
Int. R
O
M
Int. RAM
1
6-bit N-Mu
x
16-bi
t Mux
8-bit N
-Mux
8-bit
Mux
By
tes
PRIOR
Rw, Rw
Determine number of shift cycles to normalize direct word
GPR and store result in direct word GPR
2
6
2
3
4
6
2
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...