hi, can anyone please tell me about ring buffer implementation?
A ring buffer is a FIFO. Why don't you do a google search before posting on this forum? google.com/search?q=ring%20buffer This search will give you many useful results, such as: en.wikipedia.org/wiki/Ring_buffer en.wikipedia.org/wiki/FIFO - mike
Also called a "circular buffer".
http://www.keil.com/download/docs/71.asp http://www.keil.com/download/docs/200.asp