Expand description

VM parameters

Constants

Empty merkle root for receipts tree

Maximum memory word count

Maximum memory access size, in bytes.

Received balance for this context.

Remaining gas in the context.

Error codes for particular operations.

Flags register.

Memory address of beginning of current call frame.

Remaining gas globally.

Memory address below the current bottom of the heap (points to free memory).

Pointer to the start of the currently-executing code.

Contains overflow/underflow of addition, subtraction, and multiplication.

Contains one (1), for convenience.

The program counter. Memory address of the current instruction.

Return value or pointer.

Return value length in bytes.

Memory address on top of current writable stack area (points to free memory).

Memory address of bottom of current writable stack area.

Smallest writable register

Contains zero (0), for convenience.

Maximum VM RAM, in bytes.

Offset for the assets balances in VM memory

Register count for checking constraints

Encoded len of a register id in an instruction (unused)

Length of a word, in bytes