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 =     buffer handle
     R1 =     EOR mask
     R2 =     AND mask
<=     R1 =     old flags
     R2 =     new flags

This SWI modifies the buffer's flag word.

NewVal = (OldVal AND R2) EOR R1

Ensure that you do not modify reserved bits with this call - reserved bits should be clear in R1, set in R2.
To read:     R1 = 0          R2 = &0000000F
To set:          R1 = new value     R2 = &FFFFFFF0

See PRM 4, page 92.

[sh-index] Back to list of manuals