AhhHa! Atmega8l-8pu

Hello! I recently got a new Atmega8l-8pu chip and I have the Mr. General robot. Will the Atmega8l-8pu chip substitute in place of the Atmega8A chip? I looked up the Datatsheet and the pinouts are the same. Before I tried it I thought that I would inqure first.

Thanks! Low Battery