A system and method to control engine valves of an internal combustion engine
is
shown. Electromechanical valves are controlled in a manner to reduce hydrocarbon
emissions of an internal combustion engine. Further, the method can adjust valve
operation to account for vehicle exhaust system design.