|
размер адресуемого массива определяется типом ptrdiff_t
А тот в свою очередь определяется моделью памяти. Цитата из руководства IAR говорит, что Ваш случай должен работать при v2 и больше:
ptrdiff_t is the type of integer required to hold the difference between two pointers to elements of the same array. The following table shows the typedef of ptrdiff_t depending on the processor option:
Processor option___________| Typedef
-v0 and -v1 _______________| signed int
-v2, -v3, -v4, -v5, and -v6| signed long
E-mail: info@telesys.ru