This function is used to read or write (instruction) byte 1 of the argument with sign extension.
Reading:
Syntax |
i8 sb1 (i16|i32|u16|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 second 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 |
sb1 (i16|i32|u16|u32|real arg) = i8 value |
---|---|
arg |
Variable in which the value value will be imposed |
value |
Value to be imposed |
Validity |
Rule, Task |
Note |