h6. [[FPEmulator]] h6(. » [[FPEmulator SWI Calls|SWI Calls]] h6((. » FPEmulator_InitContext h2. FPEmulator_InitContext h5. (SWI &40485) |_<^{width:4em}. Entry | | |<^. R0 |<^. Pointer to context | |_<^{width:4em}. Exit | | |<^. - |<^. - | h4. Use The purpose of this call is to initialise or re-initialise a floating point context. h4. Notes It puts the context into a standard starting state, in which: All floating point registers contain zeros. The FPSR has the OFL, DVZ and IVO exception trap enable bits set. All other trap enable, system control and exception flag bits are clear. This call may also initialise other less obvious context variables. To initialise a floating point context with other registers and/or FPSR values, use [[FPEmulator_InitContext]] and then switch to the context and load the desired values with LDF and/or WFS instructions. Note that this call should not be made on a context that is currently active. If it is necessary to re-initialise the currently active context, make it no longer active (by using [[FPEmulator_ActivateContext]] or [[FPEmulator_ChangeContext]]), then re-initialise it, then reactivate it. [[Floating Point Contexts|Contexts]] are only available from FPEmulator 4.12 and later. h4. See also * [[Floating Point Contexts]] * [[FPEmulator_ActivateContext]] * [[FPEmulator_ChangeContext]] * [[FPEmulator_InitContext]]