A surgical stapler, comprising: an end effector comprising a plurality of deployable staples and a firing element; an electric motor configured to drive said firing element, wherein said electric motor comprises a primary set of coils and a secondary set of coils; and a control system in signal communication with said electric motor, wherein said control system comprises: a battery; and a switch configured to switch the electric motor between a plurality of operating states, wherein the plurality of operating states comprises: a first operating state in which the primary set of coils are configured to drive said firing element; and a second operating state in which said primary set of coils and said secondary set of coils are configured to drive said firing element; wherein said electric motor generates a first amount of torque during the first operating state, wherein said electric motor generates a second amount of torque during the second operating state; characterized in that the control system further comprises: a pulse width modulation circuit configured to control the duration of current pulses supplied from said battery to said electric motor; wherein said electric motor drives said firing element in a first direction during the first operating state, wherein said electric motor drives said firing element in a second direction during the second operating state, wherein the second direction is opposite to the first direction, and wherein the second amount of torque is greater than the first amount of torque. an end effector comprising a plurality of deployable staples and a firing element; an electric motor configured to drive said firing element, wherein said electric motor comprises a primary set of coils and a secondary set of coils; and a control system in signal communication with said electric motor, wherein said control system comprises: a battery; and a switch configured to switch the electric motor between a plurality of operating states, wherein the plurality of operating states comprises: a first operating state in which the primary set of coils are configured to drive said firing element; and a second operating state in which said primary set of coils and said secondary set of coils are configured to drive said firing element; a battery; and a switch configured to switch the electric motor between a plurality of operating states, wherein the plurality of operating states comprises: a first operating state in which the primary set of coils are configured to drive said firing element; and a second operating state in which said primary set of coils and said secondary set of coils are configured to drive said firing element; a first operating state in which the primary set of coils are configured to drive said firing element; and a second operating state in which said primary set of coils and said secondary set of coils are configured to drive said firing element; a pulse width modulation circuit configured to control the duration of current pulses supplied from said battery to said electric motor; wherein said electric motor drives said firing element in a first direction during the first operating state, wherein said electric motor drives said firing element in a second direction during the second operating state, wherein the second direction is opposite to the first direction, and wherein the second amount of torque is greater than the first amount of torque.