Book a quick meeting to discover how we can help you!Book Your Meeting Now!
Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

VM Operations

You are here:
Estimated reading time: 1 min

UserCall Functions

To top

The virtual machine compiler interacts with native code through UserCall functions, which use the following syntax:

$ufX(Y, param1, param2, param3, …)

where, X is the function number fn#, and Y is the ALIAS#. Alias names are also available for more readable code.

Internal Buffer

To top

Most VM operations access the internal byte-aligned general-purpose buffer. This buffer, referred to as the buffer in this document, can be used for multi-byte operations, in which case the index will refer to the index to the first byte of the data.

Operations Summary

To top

Here are available VM functions.

Click on the + button to expand a row. For more information on a specific VM function, click on More to go the API documentation page of that function.

Math functions

To top

Some of the above functions are mathematical operations.

One variable math functions:

  • Math1VarExt_F32(r, rIn, funcID)
  • Math1Var_F32(r, funcID)

Two variables math functions:

  • Math2Var_F32(r1, r2, funcID)
  • Math2Var_I32(r1, r2, funcID)
  • Math2Var_I64(r1, r2, funcID)

The following math operations identified by funcId can be used with the VM math functions above.

Was this article helpful?
Dislike 0
Views: 214
Go to Top
Question?