We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Registers: Availability of Registers

ANSI 3.5.1   The extent to which objects can actually be placed in registers by use of the register storage-class specifier

The compiler does not honor user requests for register variables. Instead, it makes it own choices when optimizing.