Showing changes from revision #3 to #4:
Added | Removed | Changed
Entry | |
---|---|
- | - |
Exit | |
---|---|
All registers preserved |
The purpose of this call is to set the processor to Supervisor User mode.
The interrupt status is unaltered.
This SWI returns in 32-bit user mode. Behaviour is undefined unless this SWI is called from 26-bit user mode (normal RISC OS mode). This SWI cannot be called from an address above 64M. This SWI does not use the normal SWI exit code, and does not check for callbacks.
Once in 32-bit user mode, all code is subject to the restrictions of the ARM 32-bit instruction set. Beware of instructions that are illegal in 32-bit mode, and of instructions that behave differently.
Because 32-bit user mode is not the normal RISC OS user mode, there are additional restrictions: