SECTION 10. PROCESSING INSTRUCTIONS

Parameter 3 cannot be entered as an indexed location within a loop (Instruction 87). To use Instruction 49 within a loop, enter Parameter 3 as a fixed location and follow 49 with the Instruction 31 (Move Data). In Instruction 31, enter the location in which 49 stores its result as the source (fixed) and enter the destination as an indexed location.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

01:

4

Swath

[SWATH]

02:

4

Starting input location

 

 

[1ST LOC]

 

03:

4

Dest. input location for

 

 

maximum

[MAX or Z]

Input locations altered:

1 or 2

 

*** 50 SPATIAL MINIMUM ***

FUNCTION

Find the spatial minimum (SPA MIN) value of the given set or SWATH of input locations and place the result in an input location. To find the input location where the minimum value occurs, follow the instructions given above for SPATIAL MAXIMUM.

Parameter 3 cannot be entered as an indexed location in a loop. Within a loop, Instruction 50 must be used in conjunction with Instruction 31 as described for Instruction 49.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

01:

4

Swath

[SWATH]

02:

4

Starting input location

 

 

 

[1ST LOC]

03:

4

Dest. input location for

 

 

minimum

[MIN or Z]

Input locations altered:

1 or 2

 

*** 51 SPATIAL AVERAGE ***

FUNCTION

Take the spatial average (SPA AVG) over the given set or SWATH of input locations and place the result in an input location.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

01:

4

Swath

[SWATH]

02:

4

Starting input location

 

 

 

[1ST LOC]

03:

4

Dest. input location of

 

 

average

[AVG or Z]

Input locations altered:

1

 

*** 53 SCALING ARRAY WITH ***MULTIPLIER AND OFFSET

FUNCTION

Take 4 input location values, multiply each by a floating point constant, then add another floating point constant to the resulting products and place the final results back into each of the original 4 input locations.

PARAM.

DATA

 

 

NUMBER

TYPE

DESCRIPTION

 

01:

4

First input location

 

 

 

[STRT LOC]

02:

FP

Multiplier 1

[A1]

03:

FP

Offset 1

[B1]

04:

FP

Multiplier 2

[A2]

05:

FP

Offset 2

[B2]

06:

FP

Multiplier 3

[A3]

07:

FP

Offset 3

[B3]

08:

FP

Multiplier 4

[A4]

09:

FP

Offset 4

[B4]

Input locations altered:

4

 

*** 54 BLOCK MOVE ***

FUNCTION

Executes a "block move" of data in input locations. Parameters specify the number of values to move, the source, source step, destination, and destination step. The "step" parameters designate the increment of the source and destination input locations for each value that is moved. For example, a "source step" of 2 and a "destination step" of 1 will move data from every other input location to a contiguous block of input locations.

10-4