I'm trying to learn how to use the coldfire 5282 EVB and OpenTCP. The first source demo builds but I have a run time error about an invalid stack type exception. This occurs after calling mcf5xxx_wr_sr. This is called from C.
The source lives in an .s file in the project.
When call this we get to visit the _asm_exception
It would seem that the CW 7.2 convention for placing the data in a register instead of the stack is an issue.
So, how to change this code (assembly).
And where is the ColdFire V2 assembly manual. The UserManual doesn't have any reference codes.