XC2200 Derivatives
System Units (Vol. 1 of 2)
Instruction Set Summary
User’s Manual
12-2
V2.1, 2008-08
InstrSummary_X, V2.0
Table 12-3
Compare and Loop Control Instructions
Comparison of two words or bytes:
CMP
CMPB
Comparison of two words with post-increment by
either 1 or 2:
CMPI1
CMPI2
Comparison of two words with post-decrement by
either 1 or 2:
CMPD1
CMPD2
Table 12-4
Boolean Bit Manipulation Instructions
Manipulation of a maskable bit field in either the high
or the low byte of a word:
BFLDH
BFLDL
Setting a single bit (to ‘1’):
BSET
–
Clearing a single bit (to ‘0’):
BCLR
–
Movement of a single bit:
BMOV
–
Movement of a negated bit:
BMOVN
–
ANDing of two bits:
BAND
–
ORing of two bits:
BOR
–
XORing of two bits:
BXOR
–
Comparison of two bits:
BCMP
–
Table 12-5
Shift and Rotate Instructions
Shifting right of a word:
SHR
–
Shifting left of a word:
SHL
–
Rotating right of a word:
ROR
–
Rotating left of a word:
ROL
–
Arithmetic shifting right of a word (sign bit shifting):
ASHR
–
Table 12-6
Prioritize Instruction
Determination of the number of shift cycles required to
normalize a word operand (floating point support):
PRIOR
–