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

Method of increasing storage in processor

A processor and memory technology, applied in memory systems, electrical digital data processing, instruments, etc., can solve problems such as difficulty in program development, limited internal memory size, insufficient use of stack memory, etc.

Inactive Publication Date: 2004-10-06
MEDIATEK INC
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the increasingly complex development of the system, the required stack memory and data memory have increased in a large amount. Although the data memory 12 can be expanded by using an external data memory, the size of the stack memory is still limited by the internal memory provided by the processor. data storage
Because the size of the stack memory is limited, in this way, complex programs often have insufficient stack memory, because the program must use the stack to record when calling a subroutine, but limited by the size of the stack memory, in the program It can only call a certain number of subroutines. Moreover, if parameters need to be passed in the subroutine, it is necessary to use a large number of stacks.
However, because the instruction of MCS-51 / 52 is eight bits in length, under the limitation of its instruction set, only one byte (eight bits) is used to represent its internal memory location, so its internal memory size is always limited to 256 words Knot (two to the eighth power)
In the case that the size of the stack memory cannot be expanded, the programmer must pay attention to the number of stacks used when writing the program, which makes the development of the program more difficult

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
  • Method of increasing storage in processor
  • Method of increasing storage in processor
  • Method of increasing storage in processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Please refer to image 3 , image 3 is a schematic diagram of the internal data memory 22 of the processor of the present invention. Internal data memory 22 comprises a fixed memory 24 and an expansion memory 26, in a larger memory, can allocate an area as fixed memory 24 (being 256 bytes normally), other areas outside fixed memory 24 then serve as Expand memory 26. As the capacity of the memory becomes larger, more bits are needed for addressing, and the central processing unit of the processor can only handle an 8-bit instruction set. Without changing the instruction set, the original address sent by the central processing unit The address data is extended by adding appropriate bits before the original address through an address extender 28, and the extended address is then converted into a memory address by the memory address generator 14, so that the central processing unit can access a larger data memory . However, limited by the 8-bit instruction set of the ce...

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 method for increasing the memory space of processor which has a CPU and a fixed memory includes providing a extended memory, using an address extender to extend data address and register address in the mode of increasing the number of bits, using a stack pointer to extend stack address in the mode of increasing the number of bits, and storing the increased data to the extended memory.

Description

technical field [0001] The invention relates to a method for increasing the memory in a processor, in particular to a method for increasing the stack memory of the internal data memory in the processor. Background technique [0002] MCS (Micro Computer System) is Intel's general term for microprocessors, and the MCS-31 / 32 and 51 / 52 series processors developed by Intel are widely used in the industry. Generally speaking, a microprocessor only contains a small amount of memory and input and output points. Taking the MCS-51 series single chip as an example, it has a program memory of 4K bytes, a data memory of 128 bytes, and 32 input and output points. The MCS-52 series processors increase the program memory to 8K bytes and the data memory to 256 bytes, while the MCS-31 / 32 and 51 / 52 series processors also use an 8-bit central processing unit unit. The program memory is used to store the program written by the user, which belongs to the read-only memory (ROM), and the data mem...

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
IPC IPC(8): G06F12/00G06F12/06
Inventor 杜立群陈炳盛曾宝庆郭弘政
Owner MEDIATEK INC