Heating of sidrite is a little bit confusing to me. in general any iron compound when heated it yelds iron iii

Heating of sidrite is a little bit confusing to me.
in general any iron compound when heated it yelds iron iii oxidebut sidrite is different so can someone clear the difference between when it will yeld fe2o3 and when it will yeld feo + co2​