Spectra for semiclassical operators with periodic bicharacteristics in dimension two