in assembly code call and retlw is used to call data in tables. In mikroC, how to do this? i have scout and goggle, but no luck. my plan is to call letters and characters in ascii code. Any help is appreciated. thnx in advance.
as far as I remember... you can also set a pointer and a function like
Code:
void puts (const char *meso)
{
while(*meso != 0)
{
Usart_write(*meso); // or somekind of data sink
meso++;
}
}
void main()
{
// and later....
puts("Hi, just a constant ascii string to be printed...");