摘要 |
A combined native (RISC or CISC) microprocessor and stack (Java) machine (10 , 11, 13) are constructed so that Java VM instructions can be executed in hardware. Most Java instructions are executed directly (54) , while more complex Java instructions, such as those manipulating Java objects, are executed as native microcode (56) . In order for native microcode instructio ns to access the Java operand stack, a Java operand stack pointer (22; 102) points to the register file (15; 90) location that is the current top of the stack (ToS) , while a remap bit (RM) in the status register (101) indicates that registers specified in native instructions are remapped (90a) as the maximum Java operand stack pointer value minus the present value of the Java operand stack pointer.
|