Supported Functions
The following syscalls (platform functions) are supported by all:
Function |
Description |
String-related |
|
String character —> ASCII code |
|
ASCII code —> string character |
|
numerical string—> 16-bit value (word or short) |
|
numerical string —> 32-bit value (dword or long) |
|
numerical string —> real value |
|
unsigned 16-bit numeric value (word) —> binary numerical string |
|
unsigned 32-bit numeric value (dword) —> binary numerical string |
|
unsigned 16-bit numeric value (word) —> decimal numerical string |
|
signed 16-bit numeric value (short) —> decimal numerical string |
|
unsigned 32-bit numeric value (dword) —> decimal numerical string |
|
signed 32-bit numeric value (long) —> decimal numerical string |
|
unsigned 16-bit numeric value (word) —> hexadecimal numerical string |
|
unsigned 32-bit numeric value (dword) —> hexadecimal numerical string |
|
real value —> numerical string |
|
gets the string length |
|
gets a left portion of a string |
|
gets a middle portion of a string |
|
gets a right portion of a string |
|
inserts a string into another string |
|
finds a substring in a string |
|
generates a string using repeating substring |
|
calculates 16-bit (word) sum of string characters' ASCII codes |
|
dot-decimal value —> dot-decimal string |
|
dot-decimal string —> dot-decimal value |
|
logical AND on corresponding data bytes from two strings |
|
logical OR on corresponding data bytes from two strings; |
|
logical XOR on corresponding data bytes from two strings. |
|
Date and time serialization and deserialization |
|
given year, month, and date —> day number |
|
given hours and minutes —> minute number |
|
given day number —> year |
|
given day number —> month |
|
given day number —> date |
|
given day number —> day of the week |
|
given minutes number —> hours |
|
given minutes number —> minutes |
|
Hash calculation, encryption, and related functions |
|
encrypts data according to the AES128 algorithm (not supported on the EM500W and DS1100 platforms) |
|
decrypts data according to the AES128 algorithm (not supported on the EM500W and DS1100 platforms) |
|
encrypts/decrypts data according to the RC4 algorithm |
|
calculates MD5 hash of a string |
|
calculates SHA-1 hash of a string |
|
generates a random string |
|
Miscellaneous |
|
checks the validity of a real value |