![]() |
SetA5 |
||||
Header: | OSUtils.h | Carbon status: | Supported | |
Sets the A5 register to the address specified.
SInt32 SetA5 ( SInt32 newA5 );
The value to which the A5 register is to be changed.
The value in the A5 register before SetA5 changes it to newA5.0
In interrupt code that accesses application global variables, use the SetA5 function first to restore a value previously saved using SetCurrentA5, and then, at the end of the code, to restore the A5 register to the value it had before the first call to SetA5.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.
68K-specific. Does nothing in PowerPC native code.