Florian Klaempfl a écrit :
>
> Thomas Schatzl wrote:
> >
> > In this case
> >
> > procedure nx_fill(P: PLongword; Count: Longint; Value: Longword);
> > assembler;
> > asm
> > pushl %edi
> > movlP,%edi // edi <- P
> > movlValue,%eax // eax <- Value
>
Jeff Pohlmeyer wrote:
After allocating a new instance for Arec with New proc,
the record fields (APointer and Aint) will be always
zero filled or will receive random values?
You must do as if it contains the most unexpected data,
and therefore initialise the fields *yourself*, and the
safer is t
Thomas Schatzl wrote:
In this case
procedure nx_fill(P: PLongword; Count: Longint; Value: Longword);
assembler;
asm
pushl %edi
movlP,%edi // edi <- P
movlValue,%eax // eax <- Value
movlCount,%ecx // ecx <- Count
rep
> > After allocating a new instance for Arec with New proc,
> > the record fields (APointer and Aint) will be always
> > zero filled or will receive random values?
> You must do as if it contains the most unexpected data,
> and therefore initialise the fields *yourself*, and the
> safer is to d