List of all functions/instructions available in R3 programming language for data manipulation.
Legend: R = allowed use in Rules - T = allowed use in Tasks - I = Instruction - F = Function (thus has a return value) |
||||
---|---|---|---|---|
Keyword |
R |
T |
F/I |
Description |
R |
T |
F/I |
Function that returns/writes byte 0 of the argument |
|
R |
T |
F/I |
Function that returns/writes byte 1 of the argument |
|
R |
T |
F/I |
Function that returns/writes byte 2 of the argument |
|
R |
T |
F/I |
Function that returns/writes byte 3 of the argument |
|
R |
T |
F/I |
Function that returns/writes byte 4 of the argument |
|
R |
T |
F/I |
Function that returns/writes byte 5 of the argument |
|
R |
T |
F/I |
Function that returns/writes byte 6 of the argument |
|
R |
T |
F/I |
Function that returns/writes byte 7 of the argument |
|
crc16_be() |
R |
T |
F |
Function for calculating the CRC (big endian) |
crc16_le() |
R |
T |
F |
Function for calculating the CRC (little endian) |
R |
T |
F/I |
Function that returns/writes the dword 0 of the argument |
|
R |
T |
F/I |
Function that returns/writes the dword 1 of the argument |
|
fill_mem() |
R |
T |
I |
Allows to initialize a memory area |
R |
T |
I |
Copies a memory area (n bytes) |
|
move_mem() |
R |
T |
I |
Copies a memory area (portion length) |
r2m16() |
R |
T |
F |
Real to U16 conversion |
r2m32() |
R |
T |
F |
Real to U32 conversion |
r2m8() |
R |
T |
F |
Real to U8 conversion |
r_ror() |
R |
T |
F |
Rotation to the right of the indicated number of bits |
r_rol() |
R |
T |
F |
Rotation to the left of the indicated number of bits |
r_shl() |
R |
T |
F |
Arithmetic shift to the left of the indicated number of bits |
r_shr() |
R |
T |
F |
Arithmetic shift to the right of the indicated number of bits |
rbit() |
R |
T |
F |
Bit reset in an integer variable |
R |
T |
F/I |
Function that returns/writes the argument byte 0 with sign extension |
|
R |
T |
F/I |
Function that returns/writes byte 1 of the argument with sign extension |
|
R |
T |
F/I |
Function that returns/writes byte 2 of the argument with sign extension |
|
R |
T |
F/I |
Function that returns/writes byte 3 of the argument with the sign extension |
|
R |
T |
F/I |
Function that returns/writes byte 4 of the argument with the sign extension |
|
R |
T |
F/I |
Function that returns/writes byte 5 of the argument with the sign extension |
|
R |
T |
F/I |
Function that returns/writes byte 6 of the argument with the sign extension |
|
R |
T |
F/I |
Function that returns/writes byte 7 of the argument with the sign extension |
|
sbit() |
R |
T |
F |
Set of bits in an integer variable |
R |
T |
F/I |
Function that returns/writes the dword 0 of the argument with the sign extension |
|
R |
T |
F/I |
Function that returns/writes the argument's dword 1 with the sign extension |
|
R |
T |
F |
Shift bits to the left of the indicated memory area |
|
R |
T |
F |
Shift bits to the right of the indicated memory area |
|
shl() |
R |
T |
F |
Logical shift to the left |
shr() |
R |
T |
F |
Logical shift to the right |
sizeof() |
R |
T |
F |
Returns the size of the variable |
sum8_mem() |
R |
T |
F |
Returns the sum of n elements of an array (u8) |
R |
T |
F |
Returns the sum of n elements of an array (u16) |
|
R |
T |
F |
Returns the sum of n elements of an array (u32) |
|
sumr_mem() |
R |
T |
F |
Returns the sum of n elements of an array (real) |
R |
T |
F/I |
Function that returns/writes the argument word 0 with the sign extension |
|
R |
T |
F/I |
Function that returns/writes the word 1 of the argument with the sign extension |
|
R |
T |
F/I |
Function that returns/writes the word 2 of the argument with the sign extension |
|
R |
T |
F/I |
Function that returns/writes word 3 of the argument with the sign extension |
|
tobcd() |
R |
T |
F |
Converts the value from binary to BCD (Binary-Coded Decimal) |
tobin() |
R |
T |
F |
Converts the value from BCD to binary |
todeg() |
R |
T |
F |
Converts the value from radians to degrees |
torad() |
R |
T |
F |
Converts the value from degrees to radians |
R |
T |
F/I |
Function that returns/writes the argument word 0 |
|
R |
T |
F/I |
Function that returns/writes the word 1 of the argument |
|
R |
T |
F/I |
Function that returns/writes word 2 of the argument |
|
R |
T |
F/I |
Function that returns/writes word 3 of the argument |
|
wbit() |
R |
T |
F |
Set/Reset of bits in an integer variable |
NOTE: If you are looking for functions/instructions to read/write data into a buffer see endianess conversion management.