List of all functions/instructions available in R3 programming language for handling endianess conversion.
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 |
Reading functions: |
||||
get_i8() |
R |
T |
F |
Read a byte (I8) from a buffer at a specified offset |
get_u8() |
R |
T |
F |
Read a byte (U8) from a buffer at a specified offset |
get_i16() |
R |
T |
F |
Read a word (I16) from a buffer at a specified offset |
get_u16() |
R |
T |
F |
Read a word (U16) from a buffer at a specified offset |
get_i32() |
R |
T |
F |
Read a dword (I32) from a buffer at a specified offset |
get_u32() |
R |
T |
F |
Read a dword (U32) from a buffer at a specified offset |
get_i64() |
R |
T |
I |
Read a qword (I64) from a buffer at a specified offset |
get_u64() |
R |
T |
I |
Read a qword (U64) from a buffer at a specified offset |
R |
T |
F |
Read a float (x32) from a buffer at a specified offset |
|
get_real() |
R |
T |
F |
Read a real (x64) from a buffer at a specified offset |
Writing functions: |
||||
set_i8() |
R |
T |
I |
Write a byte (I8) from a buffer at a specified offset |
set_u8() |
R |
T |
I |
Write a byte (U8) from a buffer at a specified offset |
set_i16() |
R |
T |
I |
Write a word (I16) from a buffer at a specified offset |
set_u16() |
R |
T |
I |
Write a word (U16) from a buffer at a specified offset |
set_i32() |
R |
T |
I |
Write a dword (I32) from a buffer at a specified offset |
set_u32() |
R |
T |
I |
Write a dword (U32) from a buffer at a specified offset |
set_i64() |
R |
T |
I |
Write a qword (I64) from a buffer at a specified offset |
set_u64() |
R |
T |
I |
Write a qword (U64) from a buffer at a specified offset |
R |
T |
I |
Write a float (x32) from a buffer at a specified offset |
|
set_real() |
R |
T |
I |
Write a real (x64) from a buffer at a specified offset |
Functions of endian x16 conversions: |
||||
wbe2le() |
R |
T |
F |
Convert big endian word (x16 or x32) to little endian word (x16) |
wle2be() |
R |
T |
F |
Convert little endian word (x16 or x32) to big endian word (x16) |
Endian x32 conversion functions: |
||||
dwbe2le() |
R |
T |
F |
Convert big endian dword (x32) to little endian dword (x32) |
dwle2be() |
R |
T |
F |
Convert little endian dword (x32) to big endian wdord (x32) |
dwbe2lef() |
R |
T |
F |
Convert big endian dword (x32) to little endian float (x32) |
dwle2bef() |
R |
T |
F |
Convert little endian float (4 bytes) to big endian dword (U32) |
Middle endian x32 conversion functions: |
||||
dwle2mbe() |
R |
T |
F |
Convert little endian dword (x32) to middle big endian dword (x32) |
R |
T |
F |
Convert little endian float (4 bytes) to middle big endian dword (U32) |
|
dwmbe2le() |
R |
T |
F |
Convert middle big endian dword (x32) to little endian dword (x32) |
R |
T |
F |
Convert middle big endian (U32) to little endian float (4 bytes) |
|
dwle2mle() |
R |
T |
F |
Convert little endian dword (x32) to middle little endian dword (x32) |
R |
T |
F |
Convert little endian float (4 bytes) to middle little endian dword (U32) |
|
dwbe2mbe() |
R |
T |
F |
Convert big endian dword (x32) to middle big endian dword (x32) |
dwbe2mle() |
R |
T |
F |
Convert big endian dword (x32) to middle little endian dword (x32) |
dwmbe2be() |
R |
T |
F |
Convert middle big endian dword (x32) to big endian dword (x32) |
dwmle2be() |
R |
T |
F |
Convert middle little endian dword (x32) to big endian dword (x32) |
Endian x64 conversion functions, with use of stru_large_int and stru_large_uint: |
||||
qwbe2le() |
R |
T |
I |
Convert big endian qword (x64) to little endian qword (x64) |
qwbe2lef() |
R |
T |
F |
Convert big endian qword (x64) to little endian real (x64) |
qwle2be() |
R |
T |
I |
Convert little endian qword (x64) to big endian qword (x64) |
qwle2bef() |
R |
T |
I |
Convert little endian real (x64) to big endian qword (x64) |
Middle endian x64 conversion functions, with use of stru_large_int and stru_large_uint: |
||||
qwmbe2le() |
R |
T |
I |
Convert middle big endian qword (x64) to little endian qword (x64) |
R |
T |
F |
Convert middle big endian qword (x64) to little endian real (x64) |
|
qwle2mbe() |
R |
T |
I |
Convert little endian qword (x64) to middle big endian qword (x64) |
R |
T |
I |
Convert little endian real (x64) to middle big endian qword (x64) |
|
Dword exchange endian x64 conversion functions, with use of stru_large_int and stru_large_uint: |
||||
R |
T |
I |
Convert dword exchange big endian qword (x64) to little endian qword (x64) |
|
R |
T |
F |
Convert dword exchange big endian qword (x64) to little endian real (x64) |
|
R |
T |
I |
Convert little endian qword (x64) to dword exchange big endian qword (x64) |
|
R |
T |
I |
Convert little endian real (x64) to dword exchange big endian real (x64) |
|
Dword exchange middle endian x64 conversion functions, with use of stru_large_int and stru_large_uint: |
||||
R |
T |
I |
Convert dword exchange middle big endian qword (x64) to little endian qword (x64) |
|
R |
T |
F |
Convert dword exchange middle big endian qword (x64) to little endian real (x64) |
|
R |
T |
I |
Convert little endian qword (x64) to dword exchange middle big endian qword (x64) |
|
R |
T |
I |
Convert little endian real (x64) to dword exchange middle big endian qword (x64) |