Please enable JavaScript to view this site.

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

b0() / b0()

R

T

F/I

Function that returns/writes byte 0 of the argument

b1() / b1()

R

T

F/I

Function that returns/writes byte 1 of the argument

b2() / b2()

R

T

F/I

Function that returns/writes byte 2 of the argument

b3() / b3()

R

T

F/I

Function that returns/writes byte 3 of the argument

b4() / b4()

R

T

F/I

Function that returns/writes byte 4 of the argument

b5() / b5()

R

T

F/I

Function that returns/writes byte 5 of the argument

b6() / b6()

R

T

F/I

Function that returns/writes byte 6 of the argument

b7() / b7()

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)

dw0() / dw0()

R

T

F/I

Function that returns/writes the dword 0 of the argument

dw1() / dw1()

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

move_byte()

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

sb0() / sb0()

R

T

F/I

Function that returns/writes the argument byte 0 with sign extension

sb1() / sb1()

R

T

F/I

Function that returns/writes byte 1 of the argument with sign extension

sb2() / sb2()

R

T

F/I

Function that returns/writes byte 2 of the argument with sign extension

sb3() / sb3()

R

T

F/I

Function that returns/writes byte 3 of the argument with the sign extension

sb4() / sb4()

R

T

F/I

Function that returns/writes byte 4 of the argument with the sign extension

sb5() / sb5()

R

T

F/I

Function that returns/writes byte 5 of the argument with the sign extension

sb6() / sb6()

R

T

F/I

Function that returns/writes byte 6 of the argument with the sign extension

sb7() / sb7()

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

sdw0() / sdw0()

R

T

F/I

Function that returns/writes the dword 0 of the argument with the sign extension

sdw1() / sdw1()

R

T

F/I

Function that returns/writes the argument's dword 1 with the sign extension

shift_left()

R

T

F

Shift bits to the left of the indicated memory area

shift_right()

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)

sum16_mem()

R

T

F

Returns the sum of n elements of an array (u16)

sum32_mem()

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)

sw0() / sw0()

R

T

F/I

Function that returns/writes the argument word 0 with the sign extension

sw1() / sw1()

R

T

F/I

Function that returns/writes the word 1 of the argument with the sign extension

sw2() / sw2()

R

T

F/I

Function that returns/writes the word 2 of the argument with the sign extension

sw3() / sw3()

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

w0() / w0()

R

T

F/I

Function that returns/writes the argument word 0

w1() / w1()

R

T

F/I

Function that returns/writes the word 1 of the argument

w2() / w2()

R

T

F/I

Function that returns/writes word 2 of the argument

w3() / w3()

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.

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC