[fpc-pascal] Re: asm statement

Alexander Shishkin alexvins at mail.ru
Tue Jun 12 21:31:54 CEST 2012


12.06.2012 23:23, Rainer Stratmann пишет:
> Am Tuesday 12 June 2012 18:44:20 schrieb leledumbo:
>>> What happens if there is only the end; statement without the used
>>
>> registers?
>>
>> The compiler couldn't save the values in the registers prior to the asm
>> block. If they contain intermediate result, they may be gone and unexpected
>> result would come. CMIIW.
>>
> Here there is no such mentioning of the used registers in the asm statement.
> http://wiki.freepascal.org/Lazarus_Inline_Assembler
> (last modified on 24 March 2012)
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
This is described in PFC documentation: Programmer`s guide, ch 3.4 
"Signaling changed registers".




More information about the fpc-pascal mailing list