4 - 13
Software
4.3.4. Shift and rotation commands
Com-
mand
Operand
(example)
Byte Time
[µs]
Function
C
*)
Z
*)
LSL
Accu
2
0,25 Log. shift left in accu, 8bit
yes yes
LSR
Accu
6
0,75 Log. shift right in accu, 8bit
yes yes
LSLD
Accu
2
0,25 Log. shift left in accu, 16bit
yes yes
LSRD
Accu
2
0,25 Log. shift right in accu, 16bit
yes yes
LSLM
BM00.00
10
1,75 Log. shift left in 8bit address
yes yes
LSRM
BM00.00
10
1,75 Log. shift right in 8bit address
yes yes
LSLDM
BM00.00
BM00.01
10
14
1,75
7,25
Log. shift left in 16bit address
Log. shift left in 16bit address (odd)
yes yes
LSRDM
BM00.00
BM00.01
10
14
1,75
7,25
Log. shift right in 16bit address
Log. shift right in 16bit address (odd)
yes yes
ROL
Accu
2
0,25 Roll left in accu, 8bit
yes yes
ROR
Accu
10
1,25 Roll right in accu, 8bit
yes yes
ROLD
Accu
2
0,25 Roll left in accu, 16bit
yes yes
RORD
Accu
20
3
Roll right in accu, 16bit
yes yes
ROLM
BM00.00
10
1,75 Roll left in 8bit address
yes yes
RORM
BM00.00
14
2,25 Roll right in 8bit address
yes yes
ROLDM
BM00.00
BM00.01
10
14
1,75
7,25
Roll left in 16bit address
Roll left in 16bit address (odd)
yes yes
RORDM
BM00.00
BM00.01
26
34
3,0
7,5
Roll right in 16bit address
Roll right in 16bit address (odd)
yes yes
*) Influence on (C)arry and (Z)ero bit:
--
yes
++
no change
defined flag alteration
undefined flag alteration
Summary of Contents for KUAX 680C
Page 10: ...Contents 8 Table of contents...
Page 12: ...1 2 Introduction...
Page 90: ...4 36 Description of the commands...
Page 99: ...4 45 Software 4 7 10 Module hierarchy example for different module calls...
Page 102: ...5 2 Networking...
Page 132: ...6 30 Examples...
Page 160: ...A 4 Appendix...
Page 164: ...C 2 Appendix...
Page 180: ...Index 6 Index...