A86: Re: Ld (hl),de


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

A86: Re: Ld (hl),de




Increases HL:
 ld (hl),d     ; 7
 inc hl        ; 6
 ld (hl),e     ; 7
               ; = 20
Doesn't increase HL:
 dec hl        ; 6
               ; = 26

These load DE in with D first and E second, NOT reverse order.  If you are
needing to do it in big-endian format (like the the normal 16-bit loads
are), swap D and E.

-----Original Message-----
From: InFuZeD <zoneti@home.com>
To: assembly-86@lists.ticalc.org <assembly-86@lists.ticalc.org>
Date: Thursday, October 29, 1998 3:36 PM
Subject: A86: Ld (hl),de


>
>Is there a way to ld (hl) with de?
>
>-InFuZeD