Sending a script to a virtual machine for immediate interpreting
First Claim
1. An apparatus comprising:
- a processor;
a memory storing a script interpreter and a script, the script interpreter executing on the processor, the script being interpreted by the script interpreter; and
an execute script direct functionality, wherein a script instruction is received onto the apparatus when the script is being interpreted, the execute script direct functionality causing the script instruction to be interpreted by the script interpreter.
3 Assignments
0 Petitions
Accused Products
Abstract
A security channel is provided for communication with an eight-bit, register-based, virtual machine. The virtual machine is placed into a direct mode, and then individual script instructions are sent to the virtual machine across the security channel for immediate interpreting by the virtual machine. The instructions are interpreted one by one as they are received. This feature can be used in debugging. This feature is usable in applications in which resident code is not required, but rather incoming script instructions are adequate to control device operation. A large memory is not required to store scripts, thereby reducing virtual machine system cost. Script instructions usable in the direct mode include instructions for loading a script API or machine code API onto the virtual machine from an external system, for loading a script, and for causing the virtual machine to output the contents of memory and/or internal registers to the external system.
34 Citations
34 Claims
-
1. An apparatus comprising:
-
a processor; a memory storing a script interpreter and a script, the script interpreter executing on the processor, the script being interpreted by the script interpreter; and an execute script direct functionality, wherein a script instruction is received onto the apparatus when the script is being interpreted, the execute script direct functionality causing the script instruction to be interpreted by the script interpreter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 25, 26, 27, 28, 29)
-
-
15. An apparatus comprising:
-
an eight-bit processor that executes a script interpreter, wherein the eight-bit processor executes no operating system; and means for receiving a script instruction from a source external to the apparatus and for causing the script instruction to be interpreted by the script interpreter. - View Dependent Claims (16, 17)
-
-
18. A method, comprising:
-
(a) executing a script interpreter on an eight-bit microcontroller, wherein the eight-bit microcontroller executes no operating system; (b) receiving a script instruction onto the eight-bit microcontroller; and (c) in response to said receiving causing the script instruction to be interpreted. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
-
30. A method of debugging a portable device, the method comprising:
-
(a) executing a script interpreter on a microcontroller, wherein the microcontroller executes no operating system; (b) receiving a script instruction onto the microcontroller; and (c) in response to said receiving, causing the script instruction to be interpreted regardless of whether the script interpreter interprets any script. - View Dependent Claims (31, 32, 33, 34)
-
Specification