h6. [[FPEmulator]] h6(. » [[FPEmulator SWI Calls|SWI Calls]] h6((. » FPEmulator_ChangeContext h2. FPEmulator_ChangeContext h5. (SWI &40483) |_<^{width:4em}. Entry | | |<^. R0 |<^. New context pointer (or 0) | |_<^{width:4em}. Exit | | |<^. R0 |<^. Old context pointer | h4. Use The purpose of this call is the standard way of changing context. h4. Notes This call is the standard way of changing context. A floating point context pointer is passed to it as an argument. It switches over to using this as the current context and returns a pointer to the previous floating point context. It is an atomic equivalent to [[FPEmulator_DeactivateContext]] followed by [[FPEmulator_ActivateContext]]. Either pointer may be zero: this indicates that the floating point system was/should be in a completely inactive state, with no current floating point context, its undefined instruction handlers not installed, etc. [[Floating Point Contexts|Contexts]] are only available from FPEmulator 4.12 and later. h4. See also * [[Floating Point Contexts]] * [[FPEmulator_ActivateContext]] * [[FPEmulator_DeactivateContext]]