Miscellaneous Routines
Routines found in the miscellaneous category do not fit easily into any other library routine category. The assert diagnostic macro is defined in the assert.h include file.
The setjmp and longjmp routines are implemented as functions and are prototyped in the setjmp.h include file.
The _nop_ and _testbit_ routines direct the compiler to generate NOP and JBC instructions respectively. These routines are prototyped in the intrins.h include file.
| Routine | Attributes | Description |
|---|
| assert | | Evaluate test expression and print diagnostic message. |
| setjmp | reentrant | Saves the current stack condition and program address. |
| longjmp | reentrant | Restores the stack condition and program address. |
| _nop_ | intrinsic, reentrant | Inserts an 251 NOP instruction. |
| _testbit_ | intrinsic, reentrant | Tests the value of a bit and clears it to 0. |