gSim51 is an open source,easy to use, text based simulator
for the 8051 microcontroller running on the Linux Platform.It has been
designed to match the DOS
'Debug' program so that those who are
already acquainted with 'Debug' can easily learn using gSim51 within a
very short time. Following the unix tradition of simplicity and efficiency,
all the commands of gSim51 are short and may seem difficult to remember
at first. But in the end these short, terse commands prove to be very
efficient in doing the job of simulating your code.