h6. [[BufferManager]] h6(. » [[BufferManager SWI Calls|SWI Calls]] h6((. » Buffer_ModifyFlags h2. Buffer_ModifyFlags h5. (SWI &42944) |_<^{width:3em}. Entry | | |<^. R0 |<^. Buffer handle | |<^. R1 |<^. EOR mask | |<^. R2 |<^. AND mask | |_<^{width:3em}. Exit || |<. R1 |<^. Old flags | |<. R2 |<^. New flags | h4. Use This SWI modifies the buffer's [[Buffer Flags Word|flags]], according to the following: <code>NewVal = ( OldVal AND R2 ) EOR R1</code> To read: R1 = 0, R2 = &0000000F To set: R1 = new value, R2 = &FFFFFFF0 h4. Notes Ensure that you do not modify reserved bits with this call. Any reserved bits should be clear in R1, set in R2.