It doesn't necessarily have to be an array (it can be a register such as ax).
It's part of an exercise and it recommends to move only the first (right) 16 bit of eax to the array.
It doesn't necessarily have to be an array (it can be a register such as ax).
It's part of an exercise and it recommends to move only the first (right) 16 bit of eax to the array.
The Intel registers can be referred to in a number of ways depending on how many bits you need:
To grab the lower 16 bits of EAX you could simply:
MOV BX, AX