next up previous contents index
Next: Conversion Up: Auxiliary routines used Previous: Important remark:

Move, Blow, and Bunch

CALL W16MOV (SOURCE,N1,TARGET,N2,N3)

Moves 16-bit words in packed form.

Input parameters:
SOURCE
source array
N1
starting 16-bit word in source
TARGET
target array
N2
starting 16-bit word in target
N3
no. of 16-bit words to move

CALL BLO8W (SOURCE,N1,TARGET,N2,N3)

Blows (unpacks) 8-bit words into machine words.

Input parameters:
SOURCE
array containing 8-bit words in packed form
N1
first 8-bit word in source to blow
TARGET
target array for unpacked 8-bit words
N2
TARGET(N2) will contain first unpacked word
N3
no. of 8-bit words to unpack

CALL BUN8W (SOURCE,N1,TARGET,N2,N3)

Bunches (packs) 8-bit words (right adjusted, zero filled) into a continuous bit string.

Input parameters:
SOURCE
array containing 8-bit words in unpacked form
N1
first 8-bit word in source to packed
TARGET
target array for packed 8-bit words
N2
first 8-bit word in target to pack into
N3
no. of 8-bit words to pack

CALL BLO16W (SOURCE,N1,TARGET,N2,N3)

Blows (unpacks) 16-bit words into machine words.

Input parameters:
SOURCE
array containing 16-bit words in packed form
N1
first 16-bit word in source to blow
TARGET
target array for unpacked 16-bit words
N2
TARGET(N2) will contain first unpacked word
N3
no. of 16-bit words to unpack

CALL BUN16W (SOURCE,N1,TARGET,N2,N3)

Bunches (packs) 16-bit words (right adjusted, zero filled) into a continuous-bit string.

Input parameters:
SOURCE
array containing 16-bit words in unpacked form
N1
first 16-bit word in source to packed
TARGET
target array for packed 16-bit words
N2
first 16-bit word in target to pack into
N3
no. of 16-bit words to pack

CALL BLO32W (SOURCE,N1,TARGET,N2,N3)

Blows (unpacks) 32-bit words into machine words. Important remark: Counts partly in 16-bit words.

Input parameters:
SOURCE
array containing 32-bit words in packed form
N1
first 32-bit word in source to blow
TARGET
target array for unpacked 32-bit words
N2
TARGET(N2) will contain first unpacked word
N3
no. of 32-bit words to unpack

CALL BUN32W (SOURCE,N1,TARGET,N2,N3)

Bunches (packs) 32-bit words (right adjusted, zero filled) into a continuous-bit string. Important remark: Counts partly in 16-bit words.

Input parameters:
SOURCE
array containing 32-bit words in unpacked form
N1
first 32-bit word in source to packed
TARGET
target array for packed 32-bit words
N2
first 32-bit word in target to pack into
N3
no. of 32-bit words to pack

IWD16IVAL=IWD16 (A,N)

Function returns the 16-bit word no. N of string A. The first 16-bit word coincides with the start of A.


next up previous contents index
Next: Conversion Up: Auxiliary routines used Previous: Important remark:

Janne Saarela
Tue May 16 09:44:28 METDST 1995