AnsweredAssumed Answered

Assemble Code for KL25

Question asked by Paul Liu on Jul 7, 2013
Latest reply on Jul 9, 2013 by dieter teuchert

Hello,

 

Can anybody tell me how to write the Assemble Code for below C Code? It seems ARM Cortex M0+ don't have the Boolean Operator for Memory, it only can support the core register R0~R15.

 

My C Code is as below (IAR EWARM v6.5):

    GPIOE_PSOR |= (1 << 20);
    GPIOE_PSOR |= (1 << 21);
    GPIOE_PCOR |= (1 << 20);
    TPM0_C3SC |= TPM_CnSC_CHF_MASK;

Outcomes