Sun Microsystems said Monday that Scott G. McNealy , one of its founders , was stepping aside after 22 years as chief executive , an era in which Sun helped establish the dominance of the microprocessor chip in corporate computing .