A83: Re: ld de,hl


[Prev][Next][Index][Thread]

A83: Re: ld de,hl




 ld d,h
 ld e,l

 or

 push hl
 pop de

 or

 push hl
 ex de,hl
 pop hl

There are many, many ways :)

> is this the only way to do 'ld de,hl'? Seems long to me, for such a simple
> thing...
>
>   ld a,h
>   ld d,a
>   ld a,l
>   ld e,a




References: