<< Previous | Next >> | |
|
void set( void * address, unsigned int bit );
Description
- Dynamic C may expand this call inline. Sets specified bit at memory address to 1. bit may be from 0 to 31. This is equivalent to the following expression, but more efficient:
*(long *)address |= 1L << bit
Parameters
- address
- Address of byte containing bits 7-0
- bit
- Bit location where 0 represents the least significant bit
Library
- UTIL.LIB
See also
- SET
Dynamic C Functions | << Previous | Next >> | rabbit.com |