ST10 FAMILY PROGRAMMING MANUAL
22/172
Table 14 : Shift and rotate instructions (continued)
Mnemonic
Description
Int.
ROM
Int.
RAM
16-bi
t N-M
ux
16-b
it Mu
x
8-bit
N-Mu
x
8-b
it Mux
B
ytes
ASHR
Rw, Rw
Arithmetic (sign bit) shift right direct word GPR; number of
shift cycles specified by direct GPR
2
6
2
3
4
6
2
ASHR
Rw, #data
4
Arithmetic (sign bit) shift right direct word GPR; number of
shift cycles specified by immediate data
2
6
2
3
4
6
2
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
Table 15 : Data movement instructions
Mnemonic
Description
Int. R
O
M
Int. R
A
M
16
-bit N
-Mux
1
6-bit Mux
8
-bit N
-Mux
8
-bit M
u
x
Byte
s
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 memory
2
6
2
3
4
6
2
MOV
[Rw+], [Rw]
Move indirect word memory to indirect memory &
post-increment destination pointer by 2
2
6
2
3
4
6
2
MOV
[Rw], [Rw+]
Move indirect word memory to indirect memory &
post-increment source pointer by 2
2
6
2
3
4
6
2
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...