Hier wird rc5 ganz gut erklärt:
http://www.sprut.de/electronic/ir/rc5.htm