[A83] Re: _insertmem
[Prev][Next][Index][Thread]
[A83] Re: _insertmem
> Van: mexicanoguy aka the nazgūl <mexicanoguy@hotmail.com>
>
> So, let's say I'd load $9800 into de, and 100 into hl, the 100 bytes
after
> $9800 would be copied to $9327, the 100 bytes after $9800 won't be
destroyed
> and any information stored at $9327 (or the 100 bytes after that) will be
> moved away? AM I CORRECT???
ld de,$9800
ld hl,100 ;decimal...
call _insertmem
The memory layout is now as following
(...)
($97FF) last byte that wasn't moved
($9800) 100 bytes free (bytes are not not zeroed!)
($9864) That was first at ($9800) untill (end of first filestack)
Henk Poley <><