XRAM as circular buffer

I am using ADuC841. How can i organize the internal 2K XRAM memory as a circular buffer to capture an event?

More questions in this forum