keyboard interfacing

Hi friends, I am doing a small project on 89c51kit i.e interfacing PS/2 keyboard to microcontroller.I need the datasheets or any information about KBD.Plz give me an idea of doing this.How we define scancodes in assembly(DB .....)?
THANKS,
SAI

More questions in this forum