Constant ALOC

Source
pub const ALOC: Op;
Expand description

§Alloc

0x70: ALOC

Allocate a new block of memory to the end.

Sets new memory to 0.

Returns the index to the start of the new block of memory.

Allocate 0 to get the current length of the memory.

§Stack Input

[size]

§Stack Output

[index]

§Panics

  • Max memory size reached.