[en] A high resolution X-ray spectrometer and large area phoswich detector were designed and co-aligned in a common elevation mounting in order to measure solar and cosmic X-ray and gamma ray emission in the 13 to 600 KeV energy range from a balloon. The instrument is described and results obtained for the Crab Nebula, the supernova remnant Cas A, and the Sun are discussed and analyzed