Fixed with a hack the return address from the loop replacing the opcode instead of issuing a new operation.