[A86] Retrieving two bytes


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

[A86] Retrieving two bytes




How would you get the 2 bytes stored at (hl)?

I tried the following:

ld b,(hl)
inc hl
ld c,(hl)
ld h,b
ld l,c

When I tried it, the value did not come out right.  Can someone
tell me how to get the value of the two bytes stored at (hl)?
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





Follow-Ups: