Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/24/02 08:44
Read: times


 
#23369 - RE: circular buffers by pointers or inde
On C programming indexes give mostly more compact and faster code.

There is only one special case to get advantages with pointers but only in assembler:
If you need a very fast buffered UART interrupt, you can reserve an own register bank to this interrupt and use R0 as receive pointer and R1 as transmit pointer.
Then you can work at baud rates of 115kbaud and more.

Peter


List of 25 messages in thread
TopicAuthorDate
circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: Steve            01/01/70 00:00      
RE: Peter            01/01/70 00:00      
Ring buffered serial IO            01/01/70 00:00      
RE: pointers vs. indexes            01/01/70 00:00      
RE: Ring buffered serial IO            01/01/70 00:00      
RE: pointers vs. indexes            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or inde            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      
RE: circular buffers by pointers or index ?            01/01/70 00:00      

Back to Subject List