Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

µC/CPU core library functions initialize µC/CPU, handle software exceptions, and include features such as counting the leading or trailing zeros in a word. These features are configured in cpu_cfg.h and defined in cpu_core.c.

Core Library Configuration

The following core µC/CPU configurations must be configured in cpu_cfg.h :

CPU_CFG_LEAD_ZEROS_ASM_PRESENT

Implements counting leading zeros functionality in assembly (see section 4-2-3). This feature is enabled if the macro is #define'd in cpu_cfg.h (or cpu.h).

CPU_CFG_TRAIL_ZEROS_ASM_PRESENT

Implements counting trailing zeros functionality in assembly (see section 4-2-4). This feature is enabled if the macro is #define'd in cpu_cfg.h (or cpu.h).

  • No labels