PPT Slide
Notes:
To perform the initialization, the move K or move KH instructions are used.
To load a pointer or to initialize it to some value, the instruction move K, .S, A, A5 is used. This instruction finds A in the memory map, and loads the lower 16 bits of that address into register A5.
Then, using the move KH, wherever A is in the memory map, the upper 16 bits of that address is placed into the high half, or upper 16- bits, of register A5.
When we have executed these two instructions, register A5 contains the address of A and it points to the first location in the A array, or A0.