Interesting, so regardless of the volatile it decided that the "code" is outside a function and not used.
Exactly. Originally, I had a syntax error in the asm. The code compiled without error indicating the compiler completely stripped it away before sending it to the assembly.
What does an AVR do on encountering an invalid opcode?
Ugh. I can't find a reference but I believe invalid opcodes are executed as NOPs.
If it does nothing then you could still put one inside the return and adjust the printed result by -2.
True. Actually, the compiler never outputs NOPs so putting one just before the return would work.
EDIT: In the first example did it move the A5A5 to variable space?
Naw. It's just gone.