HTML datasheet archive (search documentation on electronic components) Search datasheet (1.687.043 components)
Search field

Datasheet: M166 (Siemens Semiconductor Group)

C16x Family Of Siemens 16-bit Cmos Single-chip Microcontrollers

 

Download: PDF   ZIP
Siemens Semiconductor Group

Document Outline

Instruction Set Manual Version 1.2, 12.97
Instruction Set Manual
for the C16x Family of
Siemens 16-Bit CMOS Single-Chip Microcontrollers
ht
tp://www
.siemens.de/
Semiconductor/
Version 1.2, 12.97
Published by
Siemens AG,
Bereich Halbleiter, Marketing-
Kommunikation, Balanstraße 73,
81541 München
©
Siemens AG 1997.
All Rights Reserved.
Attention please!
As far as patents or other rights of third par-
ties are concerned, liability is only assumed
for components, not for applications, pro-
cesses and circuits implemented within com-
ponents or assemblies.
The information describes the type of compo-
nent and shall not be considered as assured
characteristics.
Terms of delivery and rights to change design
reserved.
For questions on technology, delivery and
prices please contact the Semiconductor
Group Offices in Germany or the Siemens
Companies and Representatives worldwide
(see address list).
Due to technical requirements components
may contain dangerous substances. For in-
formation on the types in question please
contact your nearest Siemens Office, Semi-
conductor Group.
Siemens AG is an approved CECC manufac-
turer.
Packing
Please use the recycling operators known to
you. We can also help you ­ get in touch with
your nearest sales office. By agreement we
will take packing material back, if it is sorted.
You must bear the costs of transport.
For packing material that is returned to us un-
sorted or which we are not obliged to accept,
we shall have to invoice you for any costs in-
curred.
Components used in life-support devices
or systems must be expressly authorized
for such purpose!
Critical components
1
of the Semiconductor
Group of Siemens AG, may only be used in
life-support devices or systems
2
with the ex-
press written approval of the Semiconductor
Group of Siemens AG.
1 A critical component is a component used
in a life-support device or system whose
failure can reasonably be expected to
cause the failure of that life-support de-
vice or system, or to affect its safety or ef-
fectiveness of that device or system.
2 Life support devices or systems are in-
tended (a) to be implanted in the human
body, or (b) to support and/or maintain
and sustain human life. If they fail, it is
reasonable to assume that the health of
the user may be endangered.
C166 Family Microcontroller Instruction Set Manual
Revision History:
Version 1.2, 12.97
Previous Releases:
Version 1.1, 09.95
03.94
Page
Subjects
8
BFLD* code size corrected
35
ADDCB: spelling corrected
38
ASHR: "operation" corrected
43, 44
BFLD*: Note improved, format corrected
51
CALLI: "operation" corrected
67
EINIT: Syntax corrected
75
JBC: Condition flags corrected
77
JMPI: "operation" corrected
81
JNBS: Condition flags corrected
86, 87
MUL(U): Flag N corrected
95
PRIOR: "Operation" corrected
104
SCXT: Data Type added
108
SRVWDT: Syntax corrected
We Listen to Your Comments
Any information within this document that you feel is wrong, unclear or missing at all?
Your feedback will help us to continuously improve the quality of this document.
Please send your proposal (including a reference to this document) to:
mcdocu.comments@hl.siemens.de
C166 Family Instruction Set
Table of Contents
Table of Contents
Page
Semiconductor Group
4
Version 1.2, 12.97
1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2
Short Instruction Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3
Instruction Set Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4
Instruction Opcodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5
Instruction Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6
Addressing Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
7
Instruction State Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
30Mar98@15:00h
Semiconductor Group
5
Version 1.2, 12.97
C166 Family Instruction Set
Introduction
1
Introduction
The Siemens family of 16-bit microcontrollers offers devices that provide various levels of peripheral
performance and programmability. This allows to equip each specific application with the
microcontroller that fits best to the required functionality and performance.
Still the Siemens family concept provides an easy path to upgrade existing applications or to climb
the next level of performance in order to realize a subsequent more sophisticated design. Two
major characteristics enable this upgrade path to save and reuse almost all of the engineering
efforts that have been made for previous designs:
· All family members are based on the same basic architecture
· All family members execute the same instructions (except for upgrades for new members)
The fact that all members execute the same instructions (almost) saves knowhow with respect to
the understanding of the controller itself and also with respect to the used tools (assembler,
disassembler, compiler, etc.).
This instruction set manual provides an easy and direct access to the instructions of the Siemens
16-bit microcontrollers by listing them according to different criteria, and also unloads the technical
manuals for the different devices from redundant information.
This manual also describes the different addressing mechanisms and the relation between the
logical addresses used in a program and the resulting physical addresses.
There is also information provided to calculate the execution time for specific instructions depending
on the used address locations and also specific exceptions to the standard rules.
Description Levels
In the following sections the instructions are compiled according to different criteria in order to
provide different levels of precision:
· Cross Reference Tables summarize all instructions in condensed tables
· The Instruction Set Summary groups the individual instructions into functional groups
· The Opcode Table references the instructions by their hexadecimal opcode
· The Instruction Description describes each instruction in full detail
All instructions listed in this manual are executed by the following devices (new derivatives will be
added to this list):
C161V, C161K, C161O, C161RI, C161SI, C161CI, C163, C163F, C164CI, C165, C167, C167CR,
C167SR, C167S, C167CS.
A few instructions (ATOMIC and EXTended instructions) have been added for these devices and
are not recognized by the following devices:
SAB 80C166, SAB 80C166W, SAB 83C166, SAB 83C166W, SAB 88C166, SAB 88C166W.
These differences are noted for each instruction, where applicable.
© 2018 • ICSheet
Contact form
Main page