This function writes into a buffer, at the specified offset, the value of a stru_large_int structure.
Syntax |
set_i64 (buffer, i32 offset, stru_large_int data) |
---|---|
buffer |
Can be an array, structure, register |
offset |
Offset in bytes |
data |
Variable of type stru_large_int to be written |
Validity |
Task, Rule |
Note |
The mirror function is get_i64() |
Once you have loaded the example program on a control, via a shell you can verify that set_i64 works. To do this, set a value between 0 and 127 - sizeof(my_data) to the offset variable, then set a non-zero value to the variables val_high and val_low, then verify that the structure my_data is equal to set_val.
|