[fpc-devel] What does the "register" keyword do?

Sooky Boo sookyboo at gmail.com
Tue Dec 2 03:11:37 CET 2008


I am wondering what the register keyword does, I am hoping that it is the
same as the c++ register keyword.

In c++ the register keyword tries to make the compiler use the CPU's
registers if possible for the variable being defined.

If anyone knows what the register keyword does and how it is used please let
me know.

I could use "asm" and use the registers myself but its not cross platform

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20081202/a6de60e5/attachment.html>

More information about the fpc-devel mailing list