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@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".
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal