Download Print this page

Siemens C16 Series Instruction Set Manual page 17

16-bit cmos single-chip microcontrollers

Advertisement

Instruction Set Summary (cont'd)*
Mnemonic
Shift and Rotate Instructions (cont'd)
SHR
Rw, #data4
ROL
Rw, Rw
ROL
Rw, #data4
ROR
Rw, Rw
ROR
Rw, #data4
ASHR
Rw, Rw
ASHR
Rw, #data4
Data Movement
MOV
Rw, Rw
MOV
Rw, #data4
MOV
reg, #data16
MOV
Rw, [Rw]
MOV
Rw, [Rw +]
MOV
[Rw], Rw
MOV
[-Rw], Rw
MOV
[Rw], [Rw]
MOV
[Rw +], [Rw]
MOV
[Rw], [Rw +]
MOV
Rw,
[Rw + #data16]
MOV
[Rw + #data16],
Rw
Semiconductor Group
30Mar98@15:00h
Description
Shift right direct word GPR;
number of shift cycles specified by immediate data
Rotate left direct word GPR;
number of shift cycles specified by direct GPR
Rotate left direct word GPR;
number of shift cycles specified by immediate data
Rotate right direct word GPR;
number of shift cycles specified by direct GPR
Rotate right direct word GPR;
number of shift cycles specified by immediate data
Arithmetic (sign bit) shift right direct word GPR;
number of shift cycles specified by direct GPR
Arithmetic (sign bit) shift right direct word GPR;
number of shift cycles specified by immediate data
Move direct word GPR to direct GPR
Move immediate word data to direct GPR
Move immediate word data to direct register
Move indirect word memory to direct GPR
Move indirect word memory to direct GPR and
post-increment source pointer by 2
Move direct word GPR to indirect memory
Pre-decrement destination pointer by 2 and move direct
word GPR to indirect memory
Move indirect word memory to indirect memory
Move indirect word memory to indirect memory and
post-increment destination pointer by 2
Move indirect word memory to indirect memory and
post-increment source pointer by 2
Move indirect word memory by base plus constant to
direct GPR
Move direct word GPR to indirect memory by base plus
constant
17
C166 Family Instruction Set
Instruction Set Summary
Version 1.2, 12.97
Bytes
2
2
2
2
2
2
2
2
2
4
2
2
2
2
2
2
2
4
4

Hide quick links:

Advertisement

loading