Re: [fpc-pascal] [OT] inline procedures in TP 7.0

2020-02-17 Thread Anton Shepelev via fpc-pascal
Florian Klampfl to Anton Shepelev:

> > What about the other registers -- does Turbo Pascal take
> > care of them, perhaps enveloping each expansion of an
> > inline procedure into a POPs and PUSHes?
>
> No.

Thank you for the reply, Florian.  Does that mean that I
must take utmost care to preserve every single register when
using inline procedures and functions?

-- 
Please, do not forward replies to the list to my e-mail.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpmmap arm-linux issue

2020-02-17 Thread Bo Berglund via fpc-pascal
On Sun, 16 Feb 2020 23:36:09 -0300, Fabio Luis Girardi via fpc-pascal
 wrote:

>I'll test it tomorrow.
>
>Em Dom, 16 de fev de 2020 18:32, Florian Klämpfl 
>escreveu:
>
>> Am 01.02.20 um 18:13 schrieb je...@j-software.dk:
>> > Agreed, the rtl should definitely divide by pagesize if MMAP2 is
>> > defined. I've run into this discrepancy before on ARM at work
>>
>> I have fixed it meanwhile.
>> ___
>> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>>

This reply above winds up in a thread named "Demo threads.pp can't
run" from May 2004

Seems like there must be a message header problem here.

-- 
Bo Berglund
Developer in Sweden

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] [OT] inline procedures in TP 7.0

2020-02-17 Thread Florian Klämpfl

Am 17.02.20 um 12:31 schrieb Anton Shepelev via fpc-pascal:

Florian Klampfl to Anton Shepelev:


What about the other registers -- does Turbo Pascal take
care of them, perhaps enveloping each expansion of an
inline procedure into a POPs and PUSHes?


No.


Thank you for the reply, Florian.  Does that mean that I
must take utmost care to preserve every single register when
using inline procedures and functions?



No. The other way round, except sp and bp, you do not have to take care 
of any register.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpmmap arm-linux issue

2020-02-17 Thread Fabio Luis Girardi via fpc-pascal
About windows CE?

Em Seg, 17 de fev de 2020 17:12, Bo Berglund via fpc-pascal <
fpc-pascal@lists.freepascal.org> escreveu:

> On Sun, 16 Feb 2020 23:36:09 -0300, Fabio Luis Girardi via fpc-pascal
>  wrote:
>
> >I'll test it tomorrow.
> >
> >Em Dom, 16 de fev de 2020 18:32, Florian Klämpfl 
> >escreveu:
> >
> >> Am 01.02.20 um 18:13 schrieb je...@j-software.dk:
> >> > Agreed, the rtl should definitely divide by pagesize if MMAP2 is
> >> > defined. I've run into this discrepancy before on ARM at work
> >>
> >> I have fixed it meanwhile.
> >> ___
> >> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> >> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
> >>
>
> This reply above winds up in a thread named "Demo threads.pp can't
> run" from May 2004
>
> Seems like there must be a message header problem here.
>
> --
> Bo Berglund
> Developer in Sweden
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal