The invention relates to a semiconductor device comprising a compound of the formula I and of the formula XXI, wherein the symbols have the meanings defined in the specification, to the novel compounds of the formula I and XXI and to the use of such a compound as an organic semiconductor for the preparation of an electronic device, and further compounds and devices, as well as other embodiments given in the specification.