4 - 26
Description of the commands
4.6.4. Shift and rotation commands
Cmnd
Function
LSL,
LSLD
logical shift left in the accu
Shifts the contents of the accu by one binary position (has the same effect
as a multiplication by 2). The result of the operation is stored in the
accumulator.
LSLM,
LSLDM
logical shift left in the operand
Shifts the contents of the operand by one binary position (has the same
effect as a multiplication by 2). The result of the operation is stored in the
operand.
LSR,
LSRD
logical shift right in the accu
Shifts the contents of the accu by one binary position (has the same effect
as dividing the contents by 2). The result of the operation is stored in the
accumulator.
LSRM,
LSRDM
logical shift right in the operand
Shifts the contents of the operand by one binary position (has the same
effect as dividing the contents by 2). The result of the operation is stored
in the operand.
ROL,
ROLD
Roll (end-around shift) left in the accu by Carry
Shifts the contents of the accu by one binary position. The contents of the
carry bit moves into the digit thus become vacant; the carry value is
written into the carry bit.
ROLM,
ROLDM
Roll (end-around shift) left in the operand by Carry
Shifts the contents of the operand by one binary position. The contents of
the carry bit moves into the digit thus become vacant; the carry value is
written into the carry bit.
ROR,
RORD
Roll (end-around shift) right in the accu by Carry
Shifts the contents of the accu by one binary position. The contents of the
carry bit moves into the digit thus become vacant; the carry value is
written into the carry bit.
RORM,
RORDM
Roll (end-around shift) right in the operand by Carry
Shifts the contents of the operand by one binary position. The contents of
the carry bit moves into the digit thus become vacant; the carry value is
written into the carry bit.
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...