An optical cross-connect is fabricated on a substrate using individual MEMs dice with mirrors that rotate into and out of an optical beam path. A first application is executed in a first processing environment and responsive to a request to execute the first application. Therefore, it is possible to secure the coupling ratio of a floating gate by maximum and implement a device of a smaller size. Then, code generation unit 108 is started to generate a code on the basis of the result of the lexical and grammatical analyses of the software specification, and of an output code pattern determined by the object-oriented function removing unit 107. The swing arm assemblies are moveable by air bag actuators between raised and lowered positions.