Dhrystone benchmark for C8051F120. Assumes a 22.1184 MHz crystal.

HI-TECH PRO for SiLabs:

compile like this:

c51 dhry.c time.c f120.c --chip=c8051f120

Resulting files are dhry.omf and dhry.hex

Results compared to Keil:

HI-TECH C PRO V7.70 Beta build 2241:

Memory Summary:
    Program space        used   E10h (  3600) of 10000h bytes   (  5.5%)
    Internal Data        used    8Fh (   143) of    E0h bytes   ( 63.8%)
    External Data        used  1512h (  5394) of  2000h bytes   ( 65.8%)

Execution speed: 3753 dhrystones/sec.

Keil 8051 C compiler:

Program Size: data=15.1 xdata=5525 code=5743

Execution speed: 3300 dhrystones/sec

HI-TECH C generates 35% smaller code size, and the code runs 14% faster.
