This function is used to read or write (instruction) the fourth word (starting with the least significant) of the argument with sign extension.
Reading:
Syntax |
i16 sw3 (real arg) |
---|---|
arg |
Argument word. From RTE 33.7.1 it can be any expression |
Result |
Returns the fourth word of the argument with the addition of the sign |
Validity |
Rule, Task |
Note |
From RTE 33.9.0 accessing a non-existing word returns an error |
Writing (instruction):
Syntax |
sw3 (real arg) = i16 value |
---|---|
arg |
Word argument |
value |
Value to be imposed |
Validity |
Rule, Task |
Note |