← Back to Patent Explorer
US5832273A Expired / Lapsed US ⏱️ 0.0 years remaining

System for deleting redundant instructions from high level language source code containing in-line assembly instructions

Assignee: NEC Electronics Corp
•
Filing: 1994-07-06
•
Granted: 1998-11-03
•
Expires: 2014-07-06
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A language processing system comprises an instruction parsing portion parsing instruction statement contained in a source program written by a high-level language and an assembler language in admixing manner, a register information discriminating portion discriminating if the instruction statement parsed by the instruction parsing portion is a register information indicative of a register value corresponding to a register operating instruction described by the assembler language, an intermediate code generating portion for generating an intermediate code of the instruction statement, a register information storage portion for storing the register information discriminated by the register information discriminating portion, a code optimizing portion for performing optimization by deleting a register operating instruction with respect to the register operating instruction code in the intermediate code when the register value indicated therein is the same as a register value indicated by an immediately preceding register information or an immediately preceding register operating instruction code, and code generating portion for generating a machine language code from the intermediate code optimized through the code optimization and outputting an object code.

Inventors

  • 👤 Harumi Mizuse

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 21:34
CPC Classifications
G; G06; G06F; G06F8/00; G06F8/40; G06F8/41; G06F8/42; G06F8/427

Claims Analysis

Total Claims: 5
Claim 1
Independent Claim 136 words
A method for deleting redundant instructions from a source code written in a high level language comprising in-line assembly language instructions, comprising the steps of: inputting a source file written in a high level language comprising in-line assembly language instructions pertaining to specific registers; parsing individual instruction statements from said source file and storing as intermediate codes; reading said intermediate codes one at a time; determining if a specific register is designated in said intermediate code from an assembly instruction and if so, storing a register address of said designated register; determining if an operating instruction in said intermediate code from a high-level language instruction designates a specific register address; comparing said stored register address with said specific register address from said high-level language to identify a redundant intermediate code; and deleting the redundant intermediate code.
Claim 2
Independent Claim 136 words
A method for deleting redundant instructions from a source code written in a high level language comprising in-line assembly language instructions, comprising the steps of: inputting a source file written in a high level language comprising in-line assembly language instructions pertaining to specific registers; parsing individual instruction statements from said source file and storing as intermediate codes; reading said intermediate codes one at a time; determining if a specific register is designated in said intermediate code from an assembly instruction and if so, storing a register address of said designated register; determining if an operating instruction in said intermediate code from a high-level language instruction designates a specific register address; comparing said stored register address with said specific register address from said high-level language to identify a redundant intermediate code; and deleting the redundant intermediate code.
Claim 3
Dependent Claim 22 words
A method for deleting redundant instructions from a source code as recited in claim 1, wherein said high level language is C.
Claim 4
Dependent Claim 22 words
A method for deleting redundant instructions from a source code as recited in claim 1, wherein said high level language is COBOL.
Claim 5
Dependent Claim 22 words
A method for deleting redundant instructions from a source code as recited in claim 1, wherein said high level language is Unix.

References Cited (Backward Citations)

US4642764A Cited
US4667290A Cited
US5428786A Cited
US5507030A Cited
US5293631A Cited
US5339428A Cited
US5418959A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2001-11-02 2002-05-04 2002-11-03 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2005-11-02 2006-05-04 2006-11-03 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2009-11-02 2010-05-04 2010-11-03 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag