Keil Logo

Technical Support

On-Line Manuals

C166 User's Guide

C166 Introduction Compiling Programs Language Extensions Preprocessor Advanced Programming Error Messages Library Reference Library Files Source Code Standard Types jmp_buf ptrdiff_t size_t va_list wchar_t Macros HARRAY HVAR MARRAY MVAR XARRAY XVAR Routines By Category Buffer Manipulation Routines Character Routines Data Conversion Routines Intrinsic Routines Math Routines Memory Allocation Routines Stream I/O Routines String Routines Variable Length Argument Routines Miscellaneous Routines Include Files SFR Definitions absacc.h assert.h ctype.h float.h intrins.h limits.h math.h membox.h setjmp.h stdarg.h stddef.h stdio.h stdlib.h string.h Reference _alloc_boxf _alloc_boxh _alloc_boxn _atomic_ _bfld_ _calloc_boxf _calloc_boxh _calloc_boxn _chkdouble_ _chkfloat_ _crol_ _cror_ _diswdt_ _einit_ _endatomic_ _free_boxf _free_boxh _free_boxn _getkey _idle_ _init_boxf _init_boxh _init_boxn _irol_ _iror_ _lrol_ _lror_ _nop_ _pop_ _prior_ _priord_ _push_ _pwrdn_ _sof_ _srvwdt_ _testclear_ _testset_ _tolower _toupper _trap_ abs acos asin assert atan atan2 atof atoi atol calloc calloc_b ceil cos cosh exp fabs floor fmemccpy fmemchr fmemcmp fmemcpy fmemmove fmemset fmod free free_b fstrcat fstrchr fstrcmp fstrcpy fstrcspn fstrlen fstrncat fstrncmp fstrncpy fstrpbrk fstrpos fstrrchr fstrrpbrk fstrrpos fstrspn getchar gets hmemcmp hmemcpy hstrcmp hstrcpy init_mempool init_mempool_b isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit labs log log10 longjmp malloc malloc_b memccpy memchr memcmp memcpy memmove memset modf offsetof pow printf putchar puts rand realloc realloc_b scanf setjmp sin sinh sprintf sqrt srand sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strpos strrchr strrpbrk strrpos strspn strstr strtod strtol strtoul tan tanh toascii toint tolower toupper ungetchar va_arg va_end va_start vprintf vsprintf xcalloc xfree xinit_mempool xmalloc xmemccpy xmemchr xmemcmp xmemcpy xmemmove xmemset xrealloc xstrcmp xstrcpy xstrlen xstrncpy Appendix

Library Files

The C166 library includes numerous compile-time libraries which are optimized for various functional requirements. These libraries support most of the ANSI C function calls.

Filename Device Model Floating-Point
C166T.LIB 80C166 Tiny  
C166S.LIB 80C166 Small  
C166M.LIB 80C166 Medium  
C166C.LIB 80C166 Compact  
C166L.LIB 80C166 Large  
C166FPT.LIB 80C166 Tiny Single-Precision
C166FPS.LIB 80C166 Small Single-Precision
C166FPM.LIB 80C166 Medium Single-Precision
C166FPC.LIB 80C166 Compact Single-Precision
C166FPL.LIB 80C166 Large Single-Precision
C166DPT.LIB 80C166 Tiny Double-Precision
C166DPS.LIB 80C166 Small Double-Precision
C166DPM.LIB 80C166 Medium Double-Precision
C166DPC.LIB 80C166 Compact Double-Precision
C166DPL.LIB 80C166 Large Double-Precision
C167T.LIB C16x/ST10/XC16x Tiny  
C167S.LIB C16x/ST10/XC16x Small  
C167M.LIB C16x/ST10/XC16x Medium  
C167C.LIB C16x/ST10/XC16x Compact  
C167L.LIB C16x/ST10/XC16x Large  
C167HC.LIB C16x/ST10/XC16x HCompact  
C167HL.LIB C16x/ST10/XC16x HLarge  
C167XL.LIB C16x/ST10/XC16x XLarge  
C167FPT.LIB C16x/ST10/XC16x Tiny Single-Precision
C167FPS.LIB C16x/ST10/XC16x Small Single-Precision
C167FPM.LIB C16x/ST10/XC16x Medium Single-Precision
C167FPC.LIB C16x/ST10/XC16x Compact Single-Precision
C167FPL.LIB C16x/ST10/XC16x Large Single-Precision
C167FPHC.LIB C16x/ST10/XC16x HCompact Single-Precision
C167FPHL.LIB C16x/ST10/XC16x HLarge Single-Precision
C167FPXL.LIB C16x/ST10/XC16x XLarge Single-Precision
C167DPT.LIB C16x/ST10/XC16x Tiny Double-Precision
C167DPS.LIB C16x/ST10/XC16x Small Double-Precision
C167DPM.LIB C16x/ST10/XC16x Medium Double-Precision
C167DPC.LIB C16x/ST10/XC16x Compact Double-Precision
C167DPL.LIB C16x/ST10/XC16x Large Double-Precision
C167DPHC.LIB C16x/ST10/XC16x HCompact Double-Precision
C167DPHL.LIB C16x/ST10/XC16x HLarge Double-Precision
C167DPXL.LIB C16x/ST10/XC16x XLarge Double-Precision


  • Normally, you do not need to manually specify libraries for the library routines you use. The compiler includes special references to the library in the generated object file. Of course, you may specify the NODEFAULTLIBRARY directive to the linker to disable automatic linkage with the default libraries.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.