Functions

Function

Description

value __min(x, y)

Returns x if less then y; otherwise y

value __max(x, y)

Returns x if greater then y; otherwise y

UWord  __byteflip16(x)
UDWord __byteflip32(x)
UQWord __byteflip64(x)

Returns a byte flipped version of x.

__byteflip16, __byteflip32, and __byteflip64 flips 16 bit, 32 bit,  and 64 bit integers, respectfully.

Please see Expression Data Types for information on the data type sign and size.

Examples

__min(-1, 3)

__max(100, __getUDWordAt(0x2E))

__byteflip32(__getUDWordAt(0))

More Information