Officials have declared an unconditional amnesty for Soviet soldiers who deserted during the war in Afghanistan and appealed to the United States and Pakistan to help account for 312 men listed as missing in action.

Procurator-General Alexander Sukharev said at a news conference Monday that all Soviet servicemen should return home, following the May 15 start of the Soviet withdrawal from Afghanistan.

"On behalf of the Soviet state, I declare that the servicemen who were in the limited contingent of Soviet troops in Afghanistan - and who return home after being held prisoner and staying in foreign countries - will enjoy in full measure all political, social and all other rights guaranteed by the consitution of the USSR to Soviet citizens," he said.

The Soviet Union invaded its southern neighbor in December 1979 to support a pro-Moscow Afghan government beset by internal feuds and a Moslem insurgency.