SOURCE: qdev_macros.txt 1.16 (12/09/2014) English AMIGA - PUBLIC
----------------------------------------------------------------------------
NAME
__LOADA4() - Loads the contents of a variable into CPU
register A4.
SYNOPSIS
__LOADA4(val);
__LOADA4([LONG]);
FUNCTION
This macro allows to restore the contents of A4 m68xxx
CPU register on a per-context-basis. This macro is only
active when binary model requested in 'gcc' is either
'-resident' or '-resident32' and the define '-Dresident'
was passed.
INPUTS
val - Var.(not its address!) that stores the contents of
the register.
RETURNS
No output.
BASES
None.
NOTES
Use this macro when compiling so called pure executables
when the parent proc. spawns some children and they need
to access parent's globals(prior to A4!).
The macro will be a stub when binary model is just reloc
so it can stay in the code independently of the setting.
SEE ALSO
__SAVEA4()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
|