A firewood processor, comprising - a saw, arranged to cut and separate a log from wood, - means for feeding wood for the saw in a longitudinal direction (+Sx), - a splitting chute, arranged to receive at least a part of the log, - a splitting wedge arranged to split the log, of which at least part is arranged in the splitting chute, into pieces, - a pressure plate arranged to support the log while splitting the log, - means for moving the pressure plate and/or the splitting wedge towards each other in such a way that the log or another log arranged in between the pressure plate and the splitting wedge is configured to be split by said movement, and - means for moving the log from the saw onto the bottom of the splitting chute, wherein - before cutting the log, the wood is arranged to be moved in the positive longitudinal direction (+Sx) in such a way that an end of the wood approaches an end stopper, - the pressure plate is configured to push the log towards the splitting wedge in a negative longitudinal direction (-Sx) that is reverse to the positive longitudinal direction (+Sx), and - the means for moving the log from the saw onto the bottom of the splitting chute is configured to receive the log from the saw into a first position having a first height, characterized by - the end stopper being arranged at a distance (Lo, L 0 +ΔL) from the saw and configured to support an end of the wood in such a way that the distance between the end stopper and the saw defines the length (L 0) of the cut log and - an end plane having a surface normal to the longitudinal direction (±Sx), the end plane configured to support an end of a log while moving the log to the splitting chute, wherein - the firewood processor is configured to adjust the position of the pressure plate and the position of the end plane based on the position of the end stopper, and - the end stopper is integrated with the end plane or - the end stopper is configured to move also independently of the end plane. - a saw, arranged to cut and separate a log from wood, - means for feeding wood for the saw in a longitudinal direction (+Sx), - a splitting chute, arranged to receive at least a part of the log, - a splitting wedge arranged to split the log, of which at least part is arranged in the splitting chute, into pieces, - a pressure plate arranged to support the log while splitting the log, - means for moving the pressure plate and/or the splitting wedge towards each other in such a way that the log or another log arranged in between the pressure plate and the splitting wedge is configured to be split by said movement, and - means for moving the log from the saw onto the bottom of the splitting chute, wherein - before cutting the log, the wood is arranged to be moved in the positive longitudinal direction (+Sx) in such a way that an end of the wood approaches an end stopper, - the pressure plate is configured to push the log towards the splitting wedge in a negative longitudinal direction (-Sx) that is reverse to the positive longitudinal direction (+Sx), and - the means for moving the log from the saw onto the bottom of the splitting chute is configured to receive the log from the saw into a first position having a first height, - the end stopper being arranged at a distance (Lo, L 0 +ΔL) from the saw and configured to support an end of the wood in such a way that the distance between the end stopper and the saw defines the length (L 0) of the cut log and - an end plane having a surface normal to the longitudinal direction (±Sx), the end plane configured to support an end of a log while moving the log to the splitting chute, wherein - the firewood processor is configured to adjust the position of the pressure plate and the position of the end plane based on the position of the end stopper, and - the end stopper is integrated with the end plane or - the end stopper is configured to move also independently of the end plane.