Atmel have an application note on thier website for RC-5 decoding so it should be fairly easy to implement.