On Wed, November 13, 2013 09:36, Rainer Stratmann wrote:
> http://www.freepascal.org/docs-html/rtl/system/move.html
>
> I have a working function in assembler wich copys a memory block from
> sorce to
> destination.
>
> Now I want it to do with the move function from unit system, but it does
> not
> work.
>
>
> procedure wd_copy( s , d : pointer ; l : longint );
> begin
>  move( s , d , l ); // does not work! Access violation errors
> end;
 .
 .

 Move (S^, D^, L)

should do it.

Tomas


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to