摘要 |
PURPOSE:To reduce the quantity of a memory in which programs are accumulated by converting the object code of the appearing frequency of an instruction used from the source code of software into an unequal length code and providing a CPU which executes interpreting. CONSTITUTION:A source program 1 is inputted to an unequal length code assembler 2, the appearing frequency of respective instructions of the program is checked, and entropy encoding is executed. Namely, the code of the number of short bits is allocated as the appearing frequency of the instruction is high. Then, an instruction code allocation table 3 and an object program 4 are generated and they are set to be load modules. The table 3 and the program 4 are loaded on an instruction code allocation table memory 5 and an object program memory 6. CPU 7 refers to respective memories of the memories 5 and 6 while it executes the given instruction. Thus, the unequal length code instruction which is entropy-encoded is used and the quantity of the memory where the programs are accumulated can be reduced.
|