English
Language : 

M166 Datasheet, PDF (17/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
Bytes
Shift and Rotate Instructions (cont’d)
SHR
Rw, #data4
Shift right direct word GPR;
2
number of shift cycles specified by immediate data
ROL
Rw, Rw
Rotate left direct word GPR;
2
number of shift cycles specified by direct GPR
ROL
Rw, #data4
Rotate left direct word GPR;
2
number of shift cycles specified by immediate data
ROR
Rw, Rw
Rotate right direct word GPR;
2
number of shift cycles specified by direct GPR
ROR
Rw, #data4
Rotate right direct word GPR;
2
number of shift cycles specified by immediate data
ASHR Rw, Rw
Arithmetic (sign bit) shift right direct word GPR;
2
number of shift cycles specified by direct GPR
ASHR Rw, #data4
Arithmetic (sign bit) shift right direct word GPR;
2
number of shift cycles specified by immediate data
Data Movement
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
Rw, Rw
Move direct word GPR to direct GPR
2
Rw, #data4
Move immediate word data to direct GPR
2
reg, #data16
Move immediate word data to direct register
4
Rw, [Rw]
Move indirect word memory to direct GPR
2
Rw, [Rw +]
Move indirect word memory to direct GPR and
2
post-increment source pointer by 2
[Rw], Rw
Move direct word GPR to indirect memory
2
[-Rw], Rw
Pre-decrement destination pointer by 2 and move direct 2
word GPR to indirect memory
[Rw], [Rw]
Move indirect word memory to indirect memory
2
[Rw +], [Rw]
Move indirect word memory to indirect memory and
2
post-increment destination pointer by 2
[Rw], [Rw +]
Move indirect word memory to indirect memory and
2
post-increment source pointer by 2
Rw,
Move indirect word memory by base plus constant to
4
[Rw + #data16] direct GPR
[Rw + #data16], Move direct word GPR to indirect memory by base plus
4
Rw
constant
Semiconductor Group
17
Version 1.2, 12.97