...
cpu_core.h/cpu_core.c /
Specific CPU/compiler cpu_a.asm
Prototypes
Code Block | ||
---|---|---|
| ||
CPU_DATA CPU_CntLeadZeros (CPU_DATA val); CPU_DATA CPU_CntLeadZeros08 (CPU_INT08U val); CPU_DATA CPU_CntLeadZeros16 (CPU_INT16U val); CPU_DATA CPU_CntLeadZeros32 (CPU_INT32U val); CPU_DATA CPU_CntLeadZeros64 (CPU_INT64U val); |
...
None.
Example Usage
Code Block | ||
---|---|---|
| ||
CPU_DATA val; CPU_DATA nbr_lead_zeros; val = 0x0643A718; nbr_lead_zeros = CPU_CntLeadZeros(val); nbr_lead_zeros = CPU_CntLeadZeros08((CPU_INT08U)val); nbr_lead_zeros = CPU_CntLeadZeros16((CPU_INT16U)val); nbr_lead_zeros = CPU_CntLeadZeros32((CPU_INT32U)val); nbr_lead_zeros = CPU_CntLeadZeros64((CPU_INT64U)val); |
...