Keil Logo


Information in this article applies to:

  • µVision Version 2.10


How can I get a list of the built-in (predefined) debugger functions?


The dir bfunc command lists the built-in functions. For example, in the C51 tools, dir bfunc generates the following list:

dir bfunc

predefined:       int printf (char *format, ...)
predefined:      void twatch (ulong cycles)
predefined:       int exec (char *cmd)
predefined:     uchar _RBYTE (ulong nAdr)
predefined:      uint _RWORD (ulong nAdr)
predefined:     ulong _RDWORD (ulong nAdr)
predefined:     float _RFLOAT (ulong nAdr)
predefined:    double _RDOUBLE (ulong nAdr)
predefined:      void _WBYTE (ulong Adr, uchar val)
predefined:      void _WWORD (ulong Adr, uint val)
predefined:      void _WDWORD (ulong Adr, ulong val)
predefined:      void _WFLOAT (ulong Adr, float val)
predefined:      void _WDOUBLE (ulong Adr, double val)
predefined:       int GetInt (char *title)
predefined:      long GetLong (char *title)
predefined:    double GetDbl (char *title)
predefined:       int rand (int seed)
predefined:      void memset (ulong addr, ulong many, uchar val)
predefined:       int _TaskRunning_ (ulong addr)
predefined:      void wwatch (ulong addr)
predefined:      void rwatch (ulong addr)
predefined:      void swatch (float nSec)

Last Reviewed: Monday, June 28, 2004

Did this article provide the answer you needed?
Not Sure
  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.