You can download an evaluation version of the Keil uVision4 IDE from Keil's web site https://www.keil.com/demo/eval/c51.htm.
This evaluation version contains a fully functional 8051 compiler, assembler, linker, and debugger. The evaluation has a limitation of 2 kbytes object code, but by using the extended license as described below this limit can be increased to 4 kbytes.
Nordic Semiconductor offers an extended evaluation version of Keil uVision3 as a part of the nRFgo SDK. With this version you can compile targets up to 4 kbytes of object code.
To extend the 2 kbyte evaluation version to 4 kbytes, open Keil uVision4 and go to File -> License Management. Click on 'Get LIC via Internet' to get a License ID. On the web page you will be asked for a Product Serial Number (PSN). Use the following serial number:
You will receive the LIC code by email. Entering this code will enable the extended evaluation version.
In addition to having an object code size limitation of 4 kbytes, the extended evaluation license does not support the Extended Linker and Assembler (LX51 and AX51). These must be disabled: