saveEA = EA;
EA = 0; 
....
EA = saveEA;
is perfectly valid in '51 C.