STMicroelectronics ST10 Series Programming Manual page 22

Table of Contents

Advertisement

ST10 FAMILY PROGRAMMING MANUAL
Table 11 : Boolean bit map instructions (continued)
Mnemonic
BAND
bitaddr, bitaddr
BCLR
bitaddr
BCMP
bitaddr, bitaddr
BFLDH
bitoff, #mask
,#data
8
8
BFLDL
bitoff, #mask
, #data
8
8
BMOV
bitaddr, bitaddr
BMOVN
bitaddr, bitaddr
BOR
bitaddr, bitaddr
BSET
bitaddr
BXOR
bitaddr, bitaddr
CMP
Rw, Rw
CMP
Rw, [Rw]
CMP
Rw, [Rw+]
CMP
Rw, #data
3
CMP
reg, #data
16
CMP
reg, mem
CMPB
Rb, Rb
CMPB
Rb, [Rw]
CMPB
Rb, [Rw+]
CMPB
Rb, #data
3
CMPB
reg, #data
16
CMPB
reg, mem
20/172
Description
AND direct bit with direct bit
Clear direct bit
Compare direct bit to direct bit
Bitwise modify masked high byte of bit-addressable direct
word memory with immediate data
Bitwise modify masked low byte of bit-addressable direct
word memory with immediate data
Move direct bit to direct bit
Move negated direct bit to direct bit
OR direct bit with direct bit
Set direct bit
XOR direct bit with direct bit
Compare direct word GPR to direct GPR
Compare indirect word memory to direct GPR
Compare indirect word memory to direct GPR and
post-increment source pointer by 2
Compare immediate word data to direct GPR
Compare immediate word data to direct register
Compare direct word memory to direct register
Compare direct byte GPR to direct GPR
Compare indirect byte memory to direct GPR
Compare indirect byte memory to direct GPR and
post-increment source pointer by 1
Compare immediate byte data to direct GPR
Compare immediate byte data to direct register
Compare direct byte memory to direct register
2
8
4
6
8
12 4
2
6
2
3
4
6
2
8
4
6
8
12 4
2
8
4
6
8
12 4
2
8
4
6
8
12 4
2
8
4
6
8
12 4
2
8
4
6
8
12 4
2
8
4
6
8
12 4
2
6
2
3
4
6
2
8
4
6
8
12 4
2
6
2
3
4
6
2
6
2
3
4
6
2
6
2
3
4
6
2
6
2
3
4
6
2
8
4
6
8
12 4
2
8
4
6
8
12 4
2
6
2
3
4
6
2
6
2
3
4
6
2
6
2
3
4
6
2
6
2
3
4
6
2
8
4
6
8
12 4
2
8
4
6
8
12 4
2
2
2
2
2
2
2
2
2
2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ST10 Series and is the answer not in the manual?

Questions and answers

Table of Contents