Method and system for compressing program code and interpreting compressed program code
Abstract
A computer system and method for compressing an instruction stream and executing the compressed instruction stream without decompression. The invention utilizes a new pointer instruction, i.e., an “Echo” instruction that is used to replace repeated instructions or sequences of instructions, also referred to as phrases. Replacing subsequent, repeated phrases with the Echo instruction reduces the size of the instruction stream, i.e., compresses the instruction stream. The Echo instruction generally identifies at least one literal instruction appearing before the Echo instruction and further identifies the number of instructions appearing before the Echo instruction to be repeated. No additional delimiters are necessary, e.g., no End Echo instructions are required. Omitting the End Echo instruction allows for overlapping phrases without the need for two Echo instructions. Reducing the number of instructions used significantly increases compression.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 39.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system for executing a compressed stream of instructions, the stream of instructions stored in a program store, the instruction stream having literal instructions and one or more Echo instructions for repeating one or more literal instructions, each Echo instruction relating to one or more literal instructions located in the program store, the system comprising: an execution module that executes literal instructions in the instruction stream; an evaluation module that determines whether an instruction is a literal instruction or an Echo instruction; an Echo module for executing the
- Claim 2Independent Claim
A computer system as defined
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 39 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (4)
- "A Text-Compression-Based Method for Code Size Minimization in Embedded Systems," by Stan Liao, Srinivas Devadas, and Kurt Keutzer, ACM Transactions on Design Automation of Electronic Systems, vol. 4, No. 1, Jan. 1999, pp. 12-38.
- "Microsoft P-Code Technology," by Andy Padawer, Code Generator Manager, Microsoft Development Tools Division, Apr. 1992.
- Title: Bytecode Compression via Profiled Grammer Rewriting, author: Evans et al, ACM, 2001.
- Title: Data Compression with Finite Windows, author: Fiala et al, ACM, 1989.