C166 User's Guide

idata

The idata memory type may be used to declare variables only. You may not declare idata functions. This memory is accessed using 16-bit addresses and is on-chip RAM of the C16x/ST10/XC16x. It has the shortest (fastest) access time but the amount of idata is limited in size.

Variables declared idata are located in the SDATA group.

Declare idata variables as follows:

unsigned char idata fast_variable;