This function is used to read or write (instruction) byte 0 of the argument with sign extension.
Reading:
Syntax |
i8 sb0 (i8|i16|i32|u8|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 first 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 |
sb0 (i8|i16|i32|u8|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 |
From RTE 33.9.0 access to a non-existing byte returns error |
Example of use:
|