Thanks for replying, no i havent set the hardware, i meant that the code does perform anything in the simulation.
This is what i get
Build target 'Target 1'
compiling videogame.c...
videogame.c(50): warning C290: missing return value
videogame.c(67): warning C290: missing return value
videogame.c(76): warning C290: missing return value
videogame.c(92): warning C290: missing return value
linking...
Program Size: data=15.3 xdata=0 code=361
creating hex file from "Videogame"...
OBJECT TO HEX FILE CONVERTER OH51 V2.6
COPYRIGHT KEIL ELEKTRONIK GmbH 1991 - 2001
*** ERROR: CAN'T OPEN FILE 'Videogame'
"Videogame" - 0 Error(s), 4 Warning(s).