Unlock instant, AI-driven research and patent intelligence for your innovation.

Microprocessor for supporting program code length reduction

A microprocessor, length reduction technology, applied in program control design, electrical digital data processing, digital data processing components and other directions, can solve problems such as address register occupation

Inactive Publication Date: 2006-11-22
PANASONIC CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] However, the problem with the second conventional technique is that the address registers are occupied when they are used to specify the absolute address of the memory, therefore, it is not always possible for a processor with fewer address registers to adopt this method
In addition, since microprocessors, especially built-in microprocessors, often read / write data from / to memory, the address register cannot be used for other operations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Microprocessor for supporting program code length reduction
  • Microprocessor for supporting program code length reduction
  • Microprocessor for supporting program code length reduction

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0083] (a) structure

[0084] image 3 The block diagram of is showing the structure of a microprocessor of the first embodiment of the present invention. The microprocessor includes a 16-bit external address bus 212 and an 8-bit data bus 213, which is divided into a data path block 200 and an instruction decoding block 100. Note that an external memory storing instructions to be executed is not shown, but is connected to the processor through the above-mentioned bus.

[0085] The data path block 200 for transferring data or performing calculations includes a selector (SEL) 201, a register group 202, an internal bus A 203, an internal bus B 204, a decode counter (DECPC) 205, a prefetch counter (PFC) 206, Incrementer (INC) 207, Arithmetic Logic Unit (ALU) 208, Address Buffer (ADB) 209, Store Data Buffer (STB) 210 and Load Data Buffer (LDB) 211, characters in parentheses represent abbreviations. The above components have common functions.

[0086] The lengths of stack pointe...

example 1

[0115] In this example, a 5-nibble instruction stored in a location in external memory starting on a byte boundary is decoded and executed by the present microprocessor.

[0116] Figure 7A The format of the instruction is shown, which consists of a 3-nibble base instruction and two 1-nibble extension words. Signals A to E respectively represent 1-nibble codes constituting the instruction. Figure 7B shows that when instructions are stored in memory locations starting from one byte, Figure 7A Shows how the 1-nibble code for the instruction is located. Note that the alignment order of 1-nibble codes for the basic instruction word and those of the extension word are different from each other.

[0117] Figure 7C Shows how the 1-nibble code is stored in IFB 101 , IB 102 and IR 104 and what is the state of storage unit 110 on each clock cycle when the instruction decode block 100 reads the instruction. IFB101, IB102 and IR104 constitute an instruction pipeline.

[0118] In ...

example 2

[0127] In this example, a 5-nibble instruction stored in a location in external memory starting on a nibble boundary is decoded and executed by the present microprocessor.

[0128] The format of the instruction is the same as that of decoding example 1. Figure 8A shows that when instructions are stored in external memory locations starting with a nibble, Figure 7A Shows how the 1-nibble code for the instruction is located.

[0129] Figure 8B with the decoding example 1 Figure 7C Again, the data flow in the instruction pipeline is shown.

[0130] In clock cycle 1, 1-nibble code A is read into IFB101.

[0131] In clock cycle 2, 1-nibble codes B and C are read into IFB101, and 1-nibble code A is transferred into IB102. State S1 of memory cell 110 at clock cycle 2 because the last 1-nibble code of the previous instruction has been stored in a memory cell in external memory starting on a nibble boundary.

[0132] In clock cycle 3, the control unit 109 recognizes that the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A microprocessor is provided that supports code length reduction in which instructions are extended in units of 0.5 words from a basic one-word code. One word of the instruction fetched from the external memory is transferred to the decoding register through the instruction buffer and the selector operating in half-word units, and then decoded by the decoder. A storage unit stores the state of an instruction stored in the instruction buffer. A control unit controls the selector according to the instructions of the decoder and the state stored in the storage unit, so that instructions are transferred from the instruction buffer to the decode register in half-word units.

Description

technical field [0001] The present invention relates to a microprocessor for processing data according to instructions in a program, and in particular, to a microprocessor for supporting program code size reduction. Background technique [0002] For new microprocessor-embedded products, people now expect high performance. In order to realize such high-performance products, the programs of microprocessors have become longer and longer. However, in microprocessor embedded products, programs should be stored in one or more ROMs, and if the code length used in the program increases, the capacity of one ROM and / or the number of ROMs should also increase, which is the development A hurdle for cheap products. Therefore, when developing this product, it is necessary to compress the code length as much as possible. [0003] One conventional technique for compressing code length compresses the code length of each instruction executed by a microprocessor (eg, NEC's V800 series and H...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/318G06F9/34G06F9/30G06F9/38
CPCG06F9/30149G06F9/30156G06F9/30167G06F9/30178G06F9/3802G06F9/3814G06F9/3816G06F9/383G06F7/00
Inventor 松崎敏道出口雅士滨口敏文多那濑宽松本政彦
Owner PANASONIC CORP