Cx51 User's Guide

auto

The auto storage class is the default storage class for local variables. It is used as follows:

auto data-type name <[>= value<]>;

Where

data-typeis the data type of the variable.
nameis the name of the variable.
valueis the value to assign to the variable.

Note

  • The auto storage class may be used only inside a function definition.