 Since there is no instruction to load a register directly from a given memory address, the HL register pair must first be loaded with the address, and the target register can then be loaded from the M operand, which is an indirect load from the memory location in the HL register pair.The BC register pair is loaded with the parameter value and decremented at the end of the loop until it becomes zero.Note that most of the instructions used occupy a single 8-bit opcode.