There shall be a presentence or postsentence investigation report completed and filed on every defendant convicted of a felony offense after March 10, 2006, and such report shall be in an electronic format. On motion of the court or written motion of either party, the court shall require a written report of a presentence investigation of a defendant convicted of a felony, and such defendant shall not be sentenced or otherwise disposed of before such report has been presented to and considered by the court.
Ala. Code § 13A-5-5 (1975)