Basically, what I mean is if you write code in BASIC to perform a function it will generate more assembly code than the same function written in assembly. That is because typically there is overhead code generated by the BASIC routines that you can avoid when you write directly in assembly.

So your example of controlling the UART with BASIC code will be more inefficient that the HSEROUT call because of all those extra assembly code lines that the BASIC procedures create.