I am trying to implement a task switcher on my Tiva C launchpad (ARM Cortex-M4F)
I need to write an assembly module to handle saving some of the MCU registers, however I have no idea what the convention is for writing the assembly function I need. Below is a link to a screenshot of my assembly function and the errors I am getting:
I have the function already declared elsewhere in the project's files, so I thought I would be able to refer to it using the EXTERN keyword, but I get the error: Error: Bad instruction
I also am getting the error: Error: Unexpected end of file encountered which I am not sure is related to the first error, or if I need to add something else to the end of the code.
Could anyone here help me understand how I can get this assembly function to compile with the rest of my project?
In reply to John: