December 2001 Commands 7 – 93
7.7.9 ASSIGN (=)
Logic processing
with the ASSIGN
command
Syntax: = (STORE)
Operands: M, I, O, T, C
Action:
Assign the content of the logic accumulator to the addressed operand. Use
the = command only at the end of a sequence of logical gating operations in
order to transfer a gating result to a logic operand. This command can be used
several times in succession (see example).
Example:
Gate the inputs I4 and I5 with AND, and assign the result to outputs O2 and
O5.
Initial state:
Input I4 = 1
Input I5 = 0
Output O2 = ?
Output O5 = ?
Function STL Accumulator contents [bit] Operand contents [bit]
31..15 ..................... 7 ................. 0
Load the operand
content into the logic
accumulator.
L I4 x ..... x x x x x x x x 1 x x x x x x x 1
Gate the content of
the logic
accumulator and
input I5 with AND.
A I5 x ..... x xxxxxxx0xxxxxxx 0
Assign the gating
result to output O2.
= O2 x ..... x x x x x x x x 0 x x x x x x x 0
Assign the gating
result to output O5.
= O5 x ..... x x x x x x x x 0 x x x x x x x 0