AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 =     reason code
<=     R0 =     returned value

This SWI enables you to read current state variables.
Read info subreason code
R0     Returns

0     Get current routine
     RTSupport handle for current routine, or 0 if in foreground, or -1 if in interrupt context
1     Get current priority setting
     Integer value, or -1 if in interrupt context
2     Get base address of SVC stack
     Base address of SVC stack for real-time routines

[sh-index] Back to list of manuals