1. A method for aligning and inserting data elements into a memory based upon an instruction sequence consisting of one or more alignment instructions and a single store instruction, comprising the steps of: given a data item that includes a data element to be stored, aligning the data element in another memory with respect to a predetermined position in the memory, in response to the one or more alignment instructions; dynamically generating a mask to enable writing of memory bit lines that correspond to the aligned data element; and writing the memory bit lines to the memory under a control of the mask, wherein said generating and writing steps are performed in response to the single store instruction.