A translating circuit coupled to a processor and memory of a computer
system translates platform-independent instructions such as Java bytecodes
into corresponding native instructions for execution by the processor. In
one embodiment, the translating circuit is incorporated into the same
integrated circuit device as the processor. In another embodiment, the
translating circuit is provided within one or more external integrated
circuit devices. One or more look-up tables map platform-independent
instructions into one or more native instructions for the processor,
thereby minimizing software-based interpretation of platform-independent
program code. Moreover, platform-independent instructions are mapped to
native instructions on-the-fly, or alternatively, in blocks prior to
execution using a state machine.