array
a<
Parameters: Array src, Array var
Takes an array from the stack and writes it to the given variable
create_array
Parameters: usize length, usize memberSize, addr elements, Array* dest
Writes the Array fields to dest
a^
Parameters: cell offset, Array* array
Returns &array[offset]
a@
Parameters: cell offset, Array* array
Returns array[offset]
Supports all integer sizes
a!
Parameters: cell value, cell offset, Array* array
Writes value to array[offset]
Currently supports 8-bit and cell size elements (more sizes will be added in the future)
a@to
Parameters: addr address, cell offset, ptr Array array
Write the value of array[offset] to address
a!from
Parameters: addr address, cell offset, ptr Array array
Writes the dereferenced value of address
to array[offset]
a=
Parameters: Array arr1, Array arr2
Returns true if the arrays are equal, false if not (will soon be changed to max cell value if true)
a..
Parameters: cell start, cell length, ptr Array array, ptr Array ret
Sets ret
to a slice of array
, starting at start
and is length
in size