[fpc-pascal] Move() vs MemCopy()

Vincent Snijders vsnijders at vodafonevast.nl
Tue Sep 29 16:06:32 CEST 2009


Marco van de Voort schreef:
> In our previous episode, Graeme Geldenhuys said:
>>> No.
>> So why is the function called MOVE instead of COPY?   :-)
> 
> Historical reasons apparantly. 
>   

I never thought that
mov ax, bx (8086 assembler)
would clear the register after the move.

So I never thought that move would clear the memory (or leave it in a undefined state).

Vincent



More information about the fpc-pascal mailing list