Shift instructions
(Original Document)
Introduction
Conversion replaces the PL7 instructions by their Control Expert equivalent.
Integer words
The following table describes any correspondence and differences between PL7 and Control Expert instructions.
PL7
(WORD)
Control Expert
(INT)
Status
SHL
SHL_INT
Modified (1)
SHR
SHRZ_INT
Modified (1)
ROL
ROL_INT
Modified (1)
ROR
ROR_INT
Modified (1)
ROLW
ROL_INT
Modified (2)
RORW
ROR_INT
Modified (2)
WSHL_RBIT
SHL_RBIT_INT
Modified (2)
WSHR_RBIT
SHR_RBIT_INT
Modified (2)
WSHRZ_C
SHRZ_RBIT_INT
Modified (2)
Legend:
(1)
Replaced by an EF whose name depends on the type of operand.
(2)
The function name is modified but the operation remains the same.
Long integer words
The following table describes any correspondence and differences between PL7 and Control Expert instructions.
PL7
(WORD)
Control Expert
(INT)
Status
EF
SHL
SHL_DINT
Modified (1)
SHR
SHRZ_DINT
Modified (1)
ROL
ROL_DINT
Modified (1)
ROR
ROR_DINT
Modified (1)
SHL_DWORD
SHL_DWORD
Converted
SHR_DWORD
SHR_DWORD
Converted
ROL_DWORD
ROL_DWORD
Converted
ROR_DWORD
ROR_DWORD
Converted
DSHL_RBIT
SHL_RBIT_DINT
Modified (2)
DSHR_RBIT
SHR_RBIT_DINT
Modified (2)
DSHRZ_C
SHRZ_RBIT_DINT
Modified (2)
ROLD
ROL_DINT
Modified (2)
RORD
ROR_DINT
Modified (2)
Legend:
(1)
Replaced by an EF whose name depends on the type of operand.
(2)
The function name is modified but the operation remains the same.