|
From: Sab V <mad...@gm...> - 2016-07-04 11:57:12
|
Hi,
I am trying to compile the following code:
static inline void uart_tx(char c)
{
__asm
jnb _EA,label1
setb _ea_hold
label1:
__endasm'
}
void anotherfunction()
{
uart_tx(c);
}
In this case SDCC keeps complaining :
Error: <m> multiple definitions error
Error: <p> phase error: label location changing between passes 2 and 3
If I replace the labels to 0001$ , then the errors dont exist anymore. Is
there any other way to use inline assembly with labels?
|