did you get it fixed
I have same issue
Always search the forum first for others that had similar issues.
http://www.keil.com/forum/1246/
If you are having problems with that code snippet, try looking at these - they have a good explanation of what the code does. http://www.keil.com/download/docs/71.asp http://www.keil.com/download/docs/200.asp
The 8051 behavior might be different than you are used to. These tutorials may help: - www.8052.com/tutser.phtml - www.8052.com/tutint.phtml
Good books would help too:
books.google.com/books
Err ... (s)he's not looking for 8051 code!