Next: , Up: Array instructions   [Contents][Index]


13.1.19.1 Instruction mka

Synopsys:

mka

Given an offset, an elements type, a list of initializers, and numbers of elements and number of initializers, create an array value and push it on the stack.

Each array initializer is specified as a triplet [BOFF IDX VAL] where BOFF is the bit-offsets of the element, IDX its position inside the array, and VAL the value to store in that position.

Array elements that are not initialized are set to the value of the first initializer to their right.

Stack: ( BOFF TYP [BOFF IDX VAL]... ULONG(nelem) ULONG(ninitializer) -- ARR )