EasyManua.ls Logo

ST ST10 Series - Page 30

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...
Standard Instruction Set PROGRAMMING MANUAL
30/197
CMP Rw, [Rw+] Compare indirect word memory to direct GPR and
post-increment source pointer by 2
2 6 2 3 4 6 2
CMP Rw, #data
3
Compare immediate word data to direct GPR 2 6 2 3 4 6 2
CMP reg, #data
16
Compare immediate word data to direct register 2 8 4 6 8 12 4
CMP reg, mem Compare direct word memory to direct register 2 8 4 6 8 12 4
CMPB Rb, Rb Compare direct byte GPR to direct GPR 2 6 2 3 4 6 2
CMPB Rb, [Rw] Compare indirect byte memory to direct GPR 2 6 2 3 4 6 2
CMPB Rb, [Rw+] Compare indirect byte memory to direct GPR and
post-increment source pointer by 1
2 6 2 3 4 6 2
CMPB Rb, #data
3
Compare immediate byte data to direct GPR 2 6 2 3 4 6 2
CMPB reg, #data
16
Compare immediate byte data to direct register 2 8 4 6 8 12 4
CMPB reg, mem Compare direct byte memory to direct register 2 8 4 6 8 12 4
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
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
Table 12 Compare and loop instructions
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
Table 11 Boolean bit map instructions (Continued)