This function is used to read or write (instruction) byte 2 of the argument with sign extension.
Reading:
Syntax |
i8 sb2 (i32|u32|real arg) |
---|---|
arg |
Variable whose contents you want to know. From RTE 33.7.1 it can be any expression |
Result |
Returns the contents of the third byte of the argument arg with the sign |
Validity |
Rule, Task |
Note |
From RTE 33.9.0 access to a non-existing byte returns error |
Writing (Instruction):
Syntax |
sb2 (i32|u32|real arg) = i8 value |
---|---|
arg |
Variable in which the value value will be imposed |
value |
Value to be imposed |
Validity |
Rule, Task |
Note |