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

This SWI does a bewildering amount of different things, based on the reason code in R0.

For calls with R0 between 166 and 255:
NewVal = (OldVal AND R2) EOR R1

To read:     R1 = 0          R2 = &FF
To set:          R1 = new value     R2 = 0

See PRM 1, page 54.

[sh-index] Back to list of manuals