Datasheet
AVR Specifics
Types Efficiency
First of all, you should know that AVR ALU, which performs arithmetic operations, is
optimized for working with bytes. Although mikroPascal PRO is capable of handling
very complex data types, AVR may choke on them, especially if you are working on
some of the older models. This can dramatically increase the time needed for per-
forming even simple operations. Universal advice is to use the smallest possible
type in every situation. It applies to all programming in general, and doubly so with
microcontrollers. Types efficiency is determined by the part of RAM memory that is
used to store a variable/constant.
44
109
CHAPTER