Programming method

A programming method and member function technology, applied in the computer field, can solve the problems that the programming method is not widely used, cannot realize cross-hardware platform, cannot realize programming, etc., and achieves the effect of shortening the development cycle, facilitating the popularization and use, and simplifying the compilation process.

Active Publication Date: 2013-10-30
易立 +1
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disclosed programming method of the above-mentioned computer system cannot be used in devices with different CPUs, so it cannot be used across hardware platforms, resulting in the insufficient application of the programming method
In addition, the programming method using C and CC++ is to compile first, and finally translate into machine code. Since different CPUs have different translation standards, they cannot be unified, so C and C++ cannot be used to program in devices with different CPUs.

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
  • Programming method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Such as figure 1 The programming method shown includes the following steps:

[0031] a. Before the system is initialized, first synthesize the interface function target code information of the interface function through the instructions of the CPU instruction system, and then define the basic model of the system;

[0032] b. Create a dictionary, load the basic module of the system into the dictionary, and initialize the system;

[0033] c. The dictionary generator loads the words in the program source code with the same data structure as the basic module of the system into the dictionary as an extended module, and then establishes an information index for the extended module in the dictionary, and generates an extension Model index information;

[0034] d. The translator translates the program source code information according to the expansion module loaded into the dictionary;

[0035] e. The assembler traverses the dictionary and performs data assembly;

[0036] f. After 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

The invention discloses a programming method, which comprises the following steps of: a, before the initialization of a system, pre-combining the interface function target code information of an interface function through an instruction of a central processing unit (CPU) instruction system, and defining a basic model of the system; b, loading the basic model of the system into a dictionary, and initializing the system; c, loading words, which has the same data structure as the basic model of the system and serves as an expansion model, in a program source code into the dictionary by using a dictionary generator, establishing an information index for the expansion model in the dictionary, and generating the index information of the expansion model; d, translating the information of the program source code by using a translator according to the expansion model which is loaded in the dictionary; e, traversing the dictionary by using an assembler, and assembling data; and f, after the data is assembled, calling an instruction access address by using a modifier according to the actual position of a function target code.

Description

Technical field [0001] The invention relates to a programming method in the computer field. Background technique [0002] There are many programming languages ​​and programming methods using these languages ​​in the prior art, such as C language, C++, etc., which all have their own characteristics; however, a Chinese patent application with publication number CN1100543 discloses a Chinese-language programming single-chip computer The Chinese programming system of the single-chip microcomputer has a Chinese dictionary unit, which completes the interpretation, compilation and operation of the system; the dictionary unit contains the drivers of the equipment necessary for the operating system, equipment management, file management, command management, interpretation, Compilation, editing, tracking and debugging, etc.; the Chinese dictionary unit can multiply a dictionary identification unit for Chinese new words based on the legal input stream of the text input by the user. The dict...

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/45
Inventor 胡月军沈志斌曾京易立
Owner 易立
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products