GFK-0467K Chapter 4 Series 90-30/20/Micro Instructions Set 4-59
4
Valid Memory Types:
Parameter flow %I %Q %M %T %S %G %R %AI %AQ const none
enable •
IN • • • • • • • • •
N • • • • • • • • •
ok • •
Q • • • • •† • • • •
• Valid reference or place where power may flow through the function.
† %SA, %SB, or %SC only; %S cannot be used.
Example:
In the following example, whenever input %I0001 is set, the input bit string %R0001 is rotated 3
bits and the result is placed in %R0002. After execution of this function, the input bit string
%R0001 is unchanged. If the same reference is used for IN and Q, a rotation will occur in place.
| _____
|%I0001 | |
|——| |———| ROL
_
|—
| | WORD|
| | |
| %R0001—|IN Q|—%R0002
| | |
| | LEN |
| |00001|
| | |
| CONST —|N |
| +00003 |_____|
|
%R0001:
MSB LSB
←←
1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0
←←
%R0002 (after %I0001 is set):
MSB LSB
1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1