English
Language : 

M166 Datasheet, PDF (16/127 Pages) Siemens Semiconductor Group – C16x Family of Siemens 16-Bit CMOS Single-Chip Microcontrollers
30Mar98@15:00h
C166 Family Instruction Set
Instruction Set Summary
Instruction Set Summary (cont’d)*
Mnemonic
Description
Compare and Loop Control Instructions (cont’d)
CMPD1 Rw, mem
CMPD2 Rw, #data4
CMPD2 Rw, #data16
CMPD2 Rw, mem
CMPI1 Rw, #data4
CMPI1 Rw, #data16
CMPI1 Rw, mem
CMPI2 Rw, #data4
CMPI2 Rw, #data16
CMPI2 Rw, mem
Compare direct word memory to direct GPR and
decrement GPR by 1
Compare immediate word data to direct GPR and
decrement GPR by 2
Compare immediate word data to direct GPR and
decrement GPR by 2
Compare direct word memory to direct GPR and
decrement GPR by 2
Compare immediate word data to direct GPR and
increment GPR by 1
Compare immediate word data to direct GPR and
increment GPR by 1
Compare direct word memory to direct GPR and
increment GPR by 1
Compare immediate word data to direct GPR and
increment GPR by 2
Compare immediate word data to direct GPR and
increment GPR by 2
Compare direct word memory to direct GPR and
increment GPR by 2
Prioritize Instruction
PRIOR Rw, Rw
Determine number of shift cycles to normalize direct
word GPR and store result in direct word GPR
Shift and Rotate Instructions
SHL
SHL
SHR
Rw, Rw
Rw, #data4
Rw, Rw
Shift left direct word GPR;
number of shift cycles specified by direct GPR
Shift left direct word GPR;
number of shift cycles specified by immediate data
Shift right direct word GPR;
number of shift cycles specified by direct GPR
Bytes
4
2
4
4
2
4
4
2
4
4
2
2
2
2
Semiconductor Group
16
Version 1.2, 12.97