A. When the dangerous weapon used in the commission of the crime of armed robbery is a firearm, the offender shall be imprisoned at hard labor for an additional period of five years without benefit of parole, probation, or suspension of sentence. The additional penalty imposed pursuant to this Subsection shall be served consecutively to the sentence imposed under the provisions of R.S. 14:64.
B. When the dangerous weapon used in the commission of the crime of attempted armed robbery is a firearm, the offender shall be imprisoned at hard labor for an additional period of five years without benefit of parole, probation, or suspension of sentence. The additional penalty imposed pursuant to this Subsection shall be served consecutively to the sentence imposed under the provisions of R.S. 14:27 and 64.