English
Language : 

XC164CS Datasheet, PDF (46/71 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller
XC164
Derivatives
Functional Description
3.18
Instruction Set Summary
Table 8 lists the instructions of the XC164 in a condensed way.
The various addressing modes that can be used with a specific instruction, the operation
of the instructions, parameters for conditional execution of instructions, and the opcodes
for each instruction can be found in the “Instruction Set Manual”.
This document also provides a detailled description of each instruction.
Table 8
Instruction Set Summary
Mnemonic
Description
Bytes
ADD(B)
Add word (byte) operands
2/4
ADDC(B)
Add word (byte) operands with Carry
2/4
SUB(B)
Subtract word (byte) operands
2/4
SUBC(B)
Subtract word (byte) operands with Carry
2/4
MUL(U)
(Un)Signed multiply direct GPR by direct GPR (16-16-bit) 2
DIV(U)
(Un)Signed divide register MDL by direct GPR (16-/16-bit) 2
DIVL(U)
(Un)Signed long divide reg. MD by direct GPR (32-/16-bit) 2
CPL(B)
Complement direct word (byte) GPR
2
NEG(B)
Negate direct word (byte) GPR
2
AND(B)
Bitwise AND, (word/byte operands)
2/4
(X)OR(B)
Bitwise (exclusive)OR, (word/byte operands)
2/4
BCLR / BSET
Clear/Set direct bit
2
BMOV(N)
Move (negated) direct bit to direct bit
4
BAND / BOR / AND/OR/XOR direct bit with direct bit
4
BXOR
BCMP
Compare direct bit to direct bit
4
BFLDH / BFLDL Bitwise modify masked high/low byte of bit-addressable 4
direct word memory with immediate data
CMP(B)
Compare word (byte) operands
2/4
CMPD1/2
Compare word data to GPR and decrement GPR by 1/2 2 / 4
CMPI1/2
Compare word data to GPR and increment GPR by 1/2 2 / 4
PRIOR
Determine number of shift cycles to normalize direct
2
word GPR and store result in direct word GPR
SHL / SHR
Shift left/right direct word GPR
2
ROL / ROR
Rotate left/right direct word GPR
2
ASHR
Arithmetic (sign bit) shift right direct word GPR
2
MOV(B)
Move word (byte) data
2/4
MOVBS/Z
Move byte operand to word op. with sign/zero extension 2 / 4
Data Sheet
42
V2.1, 2003-06