000 5 ;array subscript to use
002 2 ;element size in bytes
004 42 ;value to be stored
006 0 ;array start at this address (only 1st elmt initialized
$ 1 20 ;20 bytes of global storage
# 6 ;6 bytes of local storage
xm 0 2 /-2 ;tmp0 = (subscript) * (element size)
a /-2 #6 /-4 ;tmp2 = (tmp0) + (address of array)
i 4 @/-4 ;store value in address computed above
X@; ;dump memory so we can see what happened
h