Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Execution method for microcontroller instruction set

A technology of microcontroller and execution method, applied in machine execution device, program control design, instrument, etc., can solve problems such as complex coding method

Inactive Publication Date: 2014-10-08
ANHUI NORMAL UNIV
View PDF8 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to overcome the complicated problem of the coding method, and provide a method for executing the microcontroller instruction set with a simple coding method

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
  • Execution method for microcontroller instruction set
  • Execution method for microcontroller instruction set
  • Execution method for microcontroller instruction set

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0042] figure 1 It is a flow chart of an execution method of a microcontroller instruction set in a preferred embodiment of the present invention; figure 2 It is a data memory address allocation diagram of an execution method of a microcontroller instruction set in a preferred embodiment of the present invention; image 3 It is an on-chip data memory mapping diagram of an execution method of a microcontroller instruction set according to a preferred embodiment of the present invention; Figure 4 It is a register internal access sequence diagram of an execution method of a microcontroller instruction set according to a preferred embodiment of the present inven...

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 an execution method for a microcontroller instruction set. The execution method comprises the following steps: carrying out instruction address computation by a microcontroller, obtaining the address of an instruction, to be executed, stored in a program counter, wherein the length of the address of the instruction is fixed 16 bits; carrying out a fetch instruction by the microcontroller, and obtaining the 16-bit instruction in the address of the instruction to be executed; coding by the microcontroller, translating a binary system operation code field in the 16-bit instruction into an output signal, and indicating the function of the instruction to be executed; carrying out address computation by the microcontroller, and obtaining the operand address in the instruction to be executed; obtaining one or more operands through the operand address, carrying out function operation appointed by the instruction on the one or more operands by the microcontroller; ending when no operand is returned; carrying out computation of the operand address if operands are returned. The coding for the instruction set adopts the length of fixed 16 bits, so that the speed of the fetch instruction is improved.

Description

technical field [0001] The invention relates to a method for executing instruction operations, in particular to a method for executing instruction sets of a microcontroller. Background technique [0002] With the development of embedded technology, the microcontroller as the core of the functional control core information processing has been applied to various fields of reality. The microcontroller processes information in the form of machine instructions, so that it can directly execute various programs. Therefore, this process is actually completed by a series of machine instructions. The collection of all instructions in the microcontroller constitutes the microcontroller instruction set, which should have the characteristics of integrity, regularity, high efficiency and compatibility. In the design process of the microcontroller system, the design of the instruction set occupies a very important position, and a reasonable instruction set is very important for improving t...

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 Applications(China)
IPC IPC(8): G06F9/30G06F9/345G06F9/35
Inventor 陈付龙孙云翔齐学梅罗永龙王杨左开中赵传信郭良敏王涛春
Owner ANHUI NORMAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products