EasyManua.ls Logo

ST ST10 Series - Page 32

ST ST10 Series
197 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Standard Instruction Set PROGRAMMING MANUAL
32/197
ROL Rw, Rw Rotate left direct word GPR; number of shift cycles
specified by direct GPR
2 6 2 3 4 6 2
ROL Rw, #data
4
Rotate left direct word GPR; number of shift cycles
specified by immediate data
2 6 2 3 4 6 2
ROR Rw, Rw Rotate right direct word GPR; number of shift cycles
specified by direct GPR
2 6 2 3 4 6 2
ROR Rw, #data
4
Rotate right direct word GPR; number of shift cycles
specified by immediate data
2 6 2 3 4 6 2
SHL Rw, Rw Shift left direct word GPR; number of shift cycles
specified by direct GPR
2 6 2 3 4 6 2
SHL Rw, #data
4
Shift left direct word GPR; number of shift cycles
specified by immediate data
2 6 2 3 4 6 2
SHR Rw, Rw Shift right direct word GPR; number of shift cycles
specified by direct GPR
2 6 2 3 4 6 2
SHR Rw, #data
4
Shift right direct word GPR; number of shift cycles
specified by immediate data
2 6 2 3 4 6 2
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
MOV Rw, Rw Move direct word GPR to direct GPR 2 6 2 3 4 6 2
MOV Rw, #data
4
Move immediate word data to direct GPR 2 6 2 3 4 6 2
MOV reg, #data
16
Move immediate word data to direct register 2 8 4 6 8 12 4
MOV Rw, [Rw] Move indirect word memory to direct GPR 2 6 2 3 4 6 2
MOV Rw, [Rw+] Move indirect word memory to direct GPR
and post-increment source pointer by 2
2 6 2 3 4 6 2
MOV [Rw], Rw Move direct word GPR to indirect memory 2 6 2 3 4 6 2
MOV [-Rw], Rw Pre-decrement destination pointer by 2 and
move direct word GPR to indirect memory
2 6 2 3 4 6 2
MOV [Rw], [Rw] Move indirect word memory to indirect mem-
ory
2 6 2 3 4 6 2
Table 15 Data movement instructions
Mnemonic Description
Int. ROM
Int. RAM
16-bit
16-bit
8-bit
8-bit
Bytes
Table 14 Shift and rotate instructions (Continued)