![Infineon Technologies XC2200 User Manual Download Page 658](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439658.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
Instruction Set Summary
User’s Manual
12-1
V2.1, 2008-08
InstrSummary_X, V2.0
12
Instruction Set Summary
This chapter briefly summarizes the XC2200’s instructions ordered by instruction
classes. This provides a basic understanding of the XC2200’s instruction set, the power
and versatility of the instructions and their general usage.
A detailed description
of each single instruction, including its operand data type,
condition flag settings, addressing modes, length (number of bytes) and object code
format is provided in the
“Instruction Set Manual”
for the XC2000 Family. This manual
also provides tables ordering the instructions according to various criteria, to allow quick
references.
Summary of Instruction Classes
Grouping the various instruction into classes aids in identifying similar instructions (e.g.
SHR, ROR) and variations of certain instructions (e.g. ADD, ADDB). This provides an
easy access to the possibilities and the power of the instructions of the XC2200.
Note: The used mnemonics refer to the detailed description.
Table 12-1
Arithmetic Instructions
Addition of two words or bytes:
ADD
ADDB
Addition with Carry of two words or bytes:
ADDC
ADDCB
Subtraction of two words or bytes:
SUB
SUBB
Subtraction with Carry of two words or bytes:
SUBC
SUBCB
16
×
16 bit signed or unsigned multiplication:
MUL
MULU
16/16 bit signed or unsigned division:
DIV
DIVU
32/16 bit signed or unsigned division:
DIVL
DIVLU
1’s complement of a word or byte:
CPL
CPLB
2’s complement (negation) of a word or byte:
NEG
NEGB
Table 12-2
Logical Instructions
Bitwise ANDing of two words or bytes:
AND
ANDB
Bitwise ORing of two words or bytes:
OR
ORB
Bitwise XORing of two words or bytes:
XOR
XORB