C167CR
Instruction Set Summary
The table below lists the instructions of the C167CR 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 “C16x Family Instruction Set Manual”.
This document also provides a detailed description of each instruction.
Instruction Set Summary
Mnemonic
ADD(B)
Description
Bytes
2 / 4
2 / 4
2 / 4
2 / 4
2
Add word (byte) operands
ADDC(B)
SUB(B)
Add word (byte) operands with Carry
Subtract word (byte) operands
SUBC(B)
MUL(U)
DIV(U)
Subtract word (byte) operands with Carry
(Un)Signed multiply direct GPR by direct GPR (16-16-bit)
(Un)Signed divide register MDL by direct GPR (16-/16-bit)
(Un)Signed long divide reg. MD by direct GPR (32-/16-bit)
Complement direct word (byte) GPR
Negate direct word (byte) GPR
2
DIVL(U)
CPL(B)
2
2
NEG(B)
AND(B)
2
Bitwise AND, (word/byte operands)
Bitwise OR, (word/byte operands)
Bitwise XOR, (word/byte operands)
Clear direct bit
2 / 4
2 / 4
2 / 4
2
OR(B)
XOR(B)
BCLR
BSET
Set direct bit
2
BMOV(N)
BAND, BOR, BXOR
BCMP
Move (negated) direct bit to direct bit
AND/OR/XOR direct bit with direct bit
Compare direct bit to direct bit
4
4
4
BFLDH/L
Bitwise modify masked high/low byte of bit-addressable
direct word memory with immediate data
4
CMP(B)
CMPD1/2
CMPI1/2
PRIOR
Compare word (byte) operands
2 / 4
2 / 4
2 / 4
2
Compare word data to GPR and decrement GPR by 1/2
Compare word data to GPR and increment GPR by 1/2
Determine number of shift cycles to normalize direct
word GPR and store result in direct word GPR
SHL / SHR
ROL / ROR
ASHR
Shift left/right direct word GPR
2
2
2
Rotate left/right direct word GPR
Arithmetic (sign bit) shift right direct word GPR
Semiconductor Group
27