English
Language : 

M166 Datasheet, PDF (26/127 Pages) Siemens Semiconductor Group – C16x Family of Siemens 16-Bit CMOS Single-Chip Microcontrollers
30Mar98@15:00h
C166 Family Instruction Set
Instruction Description
5 Instruction Description
This chapter describes each instruction in detail. The instructions are ordered alphabetically, and
the description contains the following elements:
•Instruction Name• Specifies the mnemonic opcode of the instruction in oversized bold lettering for
easy reference. The mnemonics have been chosen with regard to the particular operation which is
performed by the specified instruction.
•Syntax• Specifies the mnemonic opcode and the required formal operands of the instruction as
used in the following subsection ’Operation’. There are instructions with either none, one, two or
three operands, which must be separated from each other by commas:
MNEMONIC {op1 {,op2 {,op3 } } }
The syntax for the actual operands of an instruction depends on the selected addressing mode. All
of the addressing modes available are summarized at the end of each single instruction description.
In contrast to the syntax for the instructions described in the following, the assembler provides much
more flexibility in writing C166 Family programs (e.g. by generic instructions and by automatically
selecting appropriate addressing modes whenever possible), and thus it eases the use of the
instruction set. For more information about this item please refer to the Assembler manual.
•Operation• This part presents a logical description of the operation performed by an instruction by
means of a symbolic formula or a high level language construct.
The following symbols are used to represent data movement, arithmetic or logical operators.
Diadic operations: (opX)
←
(opY) is
+
(opX) is
-
(opY) is
*
(opX) is
/
(opX) is
∧
(opX) is
∨
(opX) is
⊕
(opX) is
⇔
(opX) is
mod
(opX) is
operator (opY)
MOVED into (opX)
ADDED to (opY)
SUBTRACTED from (opX)
MULTIPLIED by (opY)
DIVIDED by (opY)
logically ANDed with (opY)
logically ORed with (opY)
logically EXCLUSIVELY ORed with (opY)
COMPARED against (opY)
divided MODULO (opY)
Monadic operations:
¬
(opX) is
operator (opX)
logically COMPLEMENTED
Semiconductor Group
26
Version 1.2, 12.97