Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Include macro in .s file

Hi,

I am using arm cortex m4 and I wrote an assembly code(in .S file). There is one macro which is defined in other file(.h file). I want to use that macro in my assembly code, so that I can enable/disable certain lines of instructions like we do in C code (using #ifdef).

Kindly help me to do this .

Parents Reply Children
No data