Manual

32
[Function] Assigns the contents of the variable in Operand 2 to the variable in Operand 1.
This function is also known as "indirect addressing" or "pointing to a pointer."
[Example 1] TRAN 1 2 Assign the content of variable 2 to variable 1.
[Example 2] LET 1 2 Assign 2 to variable 1.
LET 2 3 Assign 3 to variable 2.
LET 3 4 Assign 4 to variable 3.
LET 4 10 Assign 10 to variable 4.
TRAN 1 *3 Assign 10 (variable 4 which is the content of variable 3) to the
variable for 2.
410
1
2
3
2
3
10
1
2
3
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpONART.oNelbairaV.oNelbairaVRZ
à
12. SEL Language
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·troptuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpOTEL.oNelbairaVataDRZ
12.1 Numeric calculations commands
LET (Assign)
[Function] Assigns the value in operand 2 to the variable in operand 1.
When 0 is assigned to the variable in Operand 1, the output turns ON.
[Example 1] LET 1 10 Assign a value of 10 to variable register 1.
[Example 2] LET 1 2 Assign 2 to variable 1.
LET 3 10 Assign 10 to variable 3.
LET *1 *3 Assign 10 (content of variable 3) to variable 2 (content of variable 1).
TRAN (Transfer)
The variables change in the following manner.
4
4
104
2