EasyManua.ls Logo

ST ST10 Series - Page 31

ST ST10 Series
197 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PROGRAMMING MANUAL Standard Instruction Set
31/197
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
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
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
Table 13 Prioritize instructions
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
ASHR Rw, Rw Arithmetic (sign bit) shift right direct word GPR;
number of shift cycles specified by direct GPR
2 6 2 3 4 6 2
ASHR Rw, #data
4
Arithmetic (sign bit) shift right direct word GPR;
number of shift cycles specified by immediate data
2 6 2 3 4 6 2
Table 14 Shift and rotate instructions
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
Table 12 Compare and loop instructions (Continued)