Keil Logo

Analog Devices MicroConverter B2 Series

The Analog Devices B2 series of MicroConverters provide 2 data pointers which may be used for memory access. Using multiple data pointers may improve the speed of library functions like memcpy, memmove, memcmp, strcpy, and strcmp.

The MODAB2 directive instructs the Cx51 Compiler to generate code that uses both data pointers in your program.

The Cx51 Compiler uses at least one data pointer in an interrupt function. If an interrupt function is compiled using the MODAB2 directive, both data pointers are saved on the stack. This happens even if the interrupt function uses only one data pointer.

To conserve stack space, you may compile interrupt functions with the NOMODAB2 directive. The Cx51 Compiler does not use the second data pointer when this directive is used.

These devices also offer an extended stack space that is configured in the startup file START_AD.A51.

  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.