Electronic Components Datasheet Search
  English  ▼

X  

M166 Datasheet(PDF) 59 Page - Siemens Semiconductor Group

Part # M166
Description  C16x Family of Siemens 16-Bit CMOS Single-Chip Microcontrollers
PDF  127 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SIEMENS [Siemens Semiconductor Group]
Direct Link  http://www.siemens.com/
Logo SIEMENS - Siemens Semiconductor Group

M166 Datasheet(HTML) 59 Page - Siemens Semiconductor Group

Back Button M166 Datasheet HTML 55Page - Siemens Semiconductor Group M166 Datasheet HTML 56Page - Siemens Semiconductor Group M166 Datasheet HTML 57Page - Siemens Semiconductor Group M166 Datasheet HTML 58Page - Siemens Semiconductor Group M166 Datasheet HTML 59Page - Siemens Semiconductor Group M166 Datasheet HTML 60Page - Siemens Semiconductor Group M166 Datasheet HTML 61Page - Siemens Semiconductor Group M166 Datasheet HTML 62Page - Siemens Semiconductor Group M166 Datasheet HTML 63Page - Siemens Semiconductor Group Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 127 page
background image
30Mar98@15:00h
Semiconductor Group
59
Version 1.2, 12.97
C166 Family Instruction Set
Instruction Description
CMPI2
Integer Compare and Increment by 2
CMPI2
Syntax
CMPI2
op1, op2
Operation
(op1)
⇔ (op2)
(op1)
← (op1) + 2
Data Types
WORD
Description
This instruction is used to enhance the performance and flexibility of
loops. The source operand specified by op1 is compared to the source
operand specified by op2 by performing a 2’s complement binary subtrac-
tion of op2 from op1. Operand op1 may specify ONLY GPR registers.
Once the subtraction has completed, the operand op1 is incremented by
two. Using the set flags, a branch instruction can then be used in conjunc-
tion with this instruction to form common high level language FOR loops of
any range.
E Set if the value of op2 represents the lowest possible negative number.
Cleared otherwise. Used to signal the end of a table.
Z Set if result equals zero. Cleared otherwise.
V Set if an arithmetic underflow occurred, ie. the result cannot be repre-
sented in the specified data type. Cleared otherwise.
C Set if a borrow is generated. Cleared otherwise.
N Set if the most significant bit of the result is set. Cleared otherwise.
Addressing Modes
Mnemonic
Format
Bytes
CMPI2
Rwn, #data4
90 #n
2
CMPI2
Rwn, #data16
96 Fn ## ##
4
CMPI2
Rwn, mem
92 Fn MM MM
4
Condition Flags
E
Z
V
C
N
***
S
*



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com