32K EEPROM for program storage and 32K of EEPROM for data storage.
With Class4 motors there are 78 32bit volatile variables(a-zzz). The variables aa-zzz can also be accessed as (8,16,or 32bit)array variables (they overlap).
Class5 has the variables a-zzz and the array memory without the overlap.