Download - OMEGA Engineering
Transcript
PAGE 62 17 SEP 2002 MAN0313-04 CH. 2 2.13.2 Multi Data Moves MULTI SHIFT DATA MOVE This function allows an array of BITS, BYTES, WORDS, and DWORDS to be shifted left or right a variable numbers of elements. MULTI SHIFT BIT a. Power Flow When the input to this function block is high it completes a shift as specified by the parameters every scan. This function is not edge sensitive. This function always passes power flow. b. Multi Shift Move Terminology SRC - This is the starting BIT, BYTE, WORD or DWORD for the array to be shifted. After the data is shifted it is stored in the array of data starting at this location. BIT arrays can start at any location (%I1, %I6, %R1.1, and %R4.7...). BYTE, WORD, and DWORD arrays must start on a WORD boundary (%I1, %I17, %I33, %R1, and %R2...). LEN - This is the number of BITS, BYTES, WORDS, or DWORDS in the array. This must be a constant number from 1 to 32767. N - This is the number of elements to shift. This can be a constant or a WORD variable.