[fpc-pascal] Re: asm statement

Rainer Stratmann RainerStratmann at t-online.de
Tue Jun 12 21:23:02 CEST 2012


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)




More information about the fpc-pascal mailing list