Method for replacing compiling chain order based on mixed-compiling order set
A technology of instruction replacement and instruction set, which is applied in the direction of program control design, instrumentation, electrical digital data processing, etc., can solve the problems of not being able to maximize the program running speed, and achieve less workload, faster link speed, and code writing easy effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0036] The present invention will be further described according to the drawings and specific embodiments below.
[0037] Here, a group of jump instructions that can realize the same function is taken as an example to illustrate the implementation method. One of the implementation cases includes three parts: instruction design, replacement rule design, and assembly link program design.
[0038] 1. Instruction design
[0039] Suppose there is a pseudo-instruction JBSR, the format is JBSR Label function is to link and jump to the subroutine, save the return address of the subroutine (the PC of the next instruction, that is, the current PC + 2) in the link register R15, and the program is transferred to the Label execute.
[0040] Corresponding to this pseudo-instruction, the processor needs to have the following machine instructions:
[0041] (1) 16-bit BSR instruction, the relevant information is as follows:
[0042] BSR16 - jump to subroutine instruction
[0043] Instructio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com