This project uses interrupts to interface a PS2 keyboard with AVR ATmega8535 but code can be very easily adjusted for any microcontroller
File list:
Exe
..\INT0.hex
..\INT0.rom
Linker
.....\ctype.al
.....\ctype.ol
.....\INT0.a
.....\INT0.o
.....\stdio.al
.....\stdio.ol
.....\string.al
.....\string.ol
List
...\INT0.asm
...\INT0.lst
Obj
..\INT0.cof
..\INT0.obj
..\INT0.str1
..\INT0.sym1
..\INT0.sym2
..\INT0.sym3
INT0.c
INT0.cbi
INT0.cci
INT0.cof
INT0.cwp
INT0.c~
INT0.fct
INT0.map
INT0.prj
INT0.txt