
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
177/
316
TITLE
DRAW.NO.
4.5.5 Shift Bits
4.5.5.1 SHIFTL_BYTE(in, n, length, b1, q)
Shift the bits in a word, or string of words, left by a specified number of positions.
in: BYTE variable; the first word in a string of words.
n: INT variable or constant; the number of positions to rotate.
length: Constant; the number (1 to 256) of words in the string.
b1: BOOL variable; the bits to shift into the string.
q: BYTE variable; the first word of the shifted string.
4.5.5.2 SHIFTL_WORD(in, n, length, b1, q)
Shift the bits in a word, or string of words, left by a specified number of positions.
in: WORD variable; the first word in a string of words.
n: INT variable or constant; the number of positions to rotate.
length: Constant; the number (1 to 256) of words in the string.
b1: BOOL variable; the bits to shift into the string.
q: WORD variable; the first word of the shifted string.
4.5.5.3 SHIFTL_DWORD(in, n, length, b1, q)
Shift the bits in a word, or string of words, left by a specified number of positions.
in: DWORD variable; the first word in a string of words.
n: INT variable or constant; the number of positions to rotate.
length: Constant; the number (1 to 256) of words in the string.
b1: BOOL variable; the bits to shift into the string.
q: DWORD variable; the first word of the shifted string.
4.5.5.4 SHIFTR_BYTE(in, n, length, b1, q)
Shift the bits in a word, or string of words, right by a specified number of positions.
in: BYTE variable; the first word in a string of words.
n: INT variable or constant; the number of positions to rotate.
length: Constant; the number of words in the string (1 to 256).
b1: BOOL variable; the bits to shift into the string.
q: BYTE variable; the first word of the shifted string.
4.5.5.5 SHIFTR_WORD(in, n, length, b1, q)