A83: Re: ldir
[Prev][Next][Index][Thread]
A83: Re: ldir
This is how I always thought of it:
ldir:
ld (de),(hl) ; not a valid instruction
inc hl
inc de
dec bc ; pretend this will set the z flag if bc == 0
jr nz,ldir
----- Original Message -----
From: "Marc Puts" <marcputs@hetnet.nl>
To: <assembly-83@lists.ticalc.org>
Sent: Tuesday, January 25, 2000 07:59
Subject: A83: ldir
I don't understand the ldir command.
load, increment, repeat.
Repeat what?
Can anybody explain it to me?
Thanx,
__ __
| \/ |
| \ / | __ _ _ __ ___
| |\/| |/ _` | '__/ __|
| | | | (_| | | | (__
|_| |_|\__,_|_| \___|
References:
- A83: ldir
- From: "Marc Puts" <marcputs@hetnet.nl>