Re: Implementing built-in functions for I/O

2008-05-05 Thread Jim Wilson
Mohamed Shafi wrote: short k; __OUT(port no) = k; So hoe can i do that. Make __OUT take two parameters. __OUT(port no, k); Jim

Implementing built-in functions for I/O

2008-04-27 Thread Mohamed Shafi
Hello all, I/O instructions are different from other instructions because there isn't any way to recognize them as i/o patterns, I guess in AVR this is possible because AVR has memory mapped i/o. So its is possible to write something like PORTA = 0xff But i couldn't find out much about other