Discussion Forum

AREGS / NOAREGS duration?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Andrew Kalman
Posted
20-Aug-2002 06:11 GMT
Toolset
C51
New! AREGS / NOAREGS duration?
Hi All.

To me, the manual is not entirely clear on this issue: Does
#pragma NOAREGS
apply only to the immediately-following function, or does it apply to all functions that follow it until a
#pragma AREGS
is encountered?

Thanks,

Andrew
Read-Only
Author
Mark Odell
Posted
20-Aug-2002 14:03 GMT
Toolset
C51
New! RE: AREGS / NOAREGS duration?
From my memory, it only applies betwixt the #pragma's.
Read-Only
Author
Keil Support Intl.
Posted
26-Aug-2002 10:08 GMT
Toolset
C51
New! RE: AREGS / NOAREGS duration?
AREGS is valid until NOAREGS is given in the C source file.

Next Thread | Thread List | Previous Thread Start a Thread | Settings