On 10/24/2020 at 6:48 AM, desertfish said:
Also, I would have expected that using ".import byte_to_hex_ascii " would enable you to use the symbol rather than the absolute address; but, that doesn't work. I'm not familiar enough with the tool chain to come up with a possible solution for that. Is there someone else that can? I think that referring to the absolute address of the function is quite brittle.
Every ".import name" must be matched by a ".export name". In this case, "monitor.s" should contain
.export byte_to_hex_ascii