ST10 FAMILY PROGRAMMING MANUAL
20/172
Table 11 : Boolean bit map 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
BAND
bitaddr, bitaddr
AND direct bit with direct bit
2
8
4
6
8
12
4
BCLR
bitaddr
Clear direct bit
2
6
2
3
4
6
2
BCMP
bitaddr, bitaddr
Compare direct bit to direct bit
2
8
4
6
8
12
4
BFLDH
bitoff, #mask
8
,#data
8
Bitwise modify masked high byte of bit-addressable direct
word memory with immediate data
2
8
4
6
8
12
4
BFLDL
bitoff, #mask
8
, #data
8
Bitwise modify masked low byte of bit-addressable direct
word memory with immediate data
2
8
4
6
8
12
4
BMOV
bitaddr, bitaddr
Move direct bit to direct bit
2
8
4
6
8
12
4
BMOVN
bitaddr, bitaddr
Move negated direct bit to direct bit
2
8
4
6
8
12
4
BOR
bitaddr, bitaddr
OR direct bit with direct bit
2
8
4
6
8
12
4
BSET
bitaddr
Set direct bit
2
6
2
3
4
6
2
BXOR
bitaddr, bitaddr
XOR direct bit with direct bit
2
8
4
6
8
12
4
CMP
Rw, Rw
Compare direct word GPR to direct GPR
2
6
2
3
4
6
2
CMP
Rw, [Rw]
Compare indirect word memory to direct GPR
2
6
2
3
4
6
2
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
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...