Hi Gonzalo,
I ever made a small sample code to you. see attached “mix_C_Assembly_HCS12X”
XDEF specifies labels defined in the current module but can be referenced by other modules.
XREF specifies symbols referenced in the current module but defined in another module
variable "my_C_variable" is accessed by assembly code in this demo.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------