From the definition in the book, these ones are those that are intended to "stay" in the registers more often that the ints etc...
But do any of you lot actually use them for any meaningful task?
By meaningful task, I don't mean a simple program like:
Code: Select all
main(register int count)
{
for(count = 0; ++count < 1000; )
;
}
Sort of thing... I mean the big complex programs where you're switching from function to function in separate files etc...
And if you do use them, do you ever run into hardware level problems e.g. say you are running a 32-bit variable in a 16-bit program? Although with that you may just split it over two registers...
Any uses? PS Excuse any errors in the syntax , I think it's okay...
IntelMole