I am not sure if I need to preserve the contents of the CCR and A registers when I write inline assembly marcos. Is there any documentation out there on this?
As far as I am aware, there should not be a need to preserve the contents of the registers prior to inline code. Various registers can be used to pass parameters to a function, but by the time the assembly code block is reached these parameter values should then reside on the stack. As a general rule, if any values need to be preserved, the compiler should already do this.
Retrieving data ...