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

Non-shared stack storage processor

A stack memory and processor technology, applied in the field of processors where the stack memory is not shared, can solve the problems of increasing the stack memory and data memory, insufficient use of the stack memory, limited internal data memory of the stack memory, etc., to solve the problem of insufficient use Effect

Inactive Publication Date: 2004-09-29
MEDIATEK INC
View PDF0 Cites 0 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 the subroutine, but limited by the size of the stack memory, the program Then only a certain number of subroutines can be called. Furthermore, if parameters need to be passed in the subroutine, a large number of stacks need to be used.
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
  • Non-shared stack storage processor
  • Non-shared stack storage processor
  • Non-shared stack storage processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Please refer to image 3 , image 3 It is a schematic diagram of the internal memory of the processor 20 of the present invention. The internal memory includes a data memory 22 and a stack memory 24 . Since the central processing unit 26 of the processor 20 can only process an 8-bit instruction set, it can only be expressed to FFH at most. Under the condition of not changing the instruction set, the data memory 22 and the stack memory 24 that the central processing unit 26 can access The maximum range is 256 bytes. The data memory 22 is used to store the data required for program execution and the data generated by executing the program on the one hand, and is also used as a temporary register when the central processing unit 26 performs calculations. When, the accessed data or temporary register address and related instructions will be sent to a memory address generator 28, and the data or temporary register address will be mapped to the physical address of the data...

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

The processor includes one CPU for processing data and instructions, one data memory for storing non-stack data and being used as temporary storage, one stack memory for storing stack data, one memory address pointer generator for generating the address for accessing the data memory, and one stack pointer generator for generating the pointer for accessing the stack memory.

Description

technical field [0001] The invention provides a processor, especially a processor with no shared stack memory. 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 processor 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 memory is the random access memory (RAM), which can be read or written by the central processing ...

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/00G06F15/78
Inventor 杜立群陈炳盛曾宝庆郭弘政
Owner MEDIATEK INC