# US 2004/0064301 A1 · Software development system, simulator, and recording medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0064301 A1
- Document ID: US20040064301A1
- Status: Published application
- Kind: A1
- Application number: 10/452,588
- Filed: 2003-06-03
- Published: 2004-04-01
- Earliest claimed: 2002-06-03
- Inventors: Takahiro Kondo; Tsuyoshi Nakamura; Maiko Taruki
- Web page: https://patentgrep.com/patent/US20040064301A1

## CPC

- G06F 8/47: {Retargetable compilers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A source code is entirely described in a high-level language. The source code includes a library description and a versatile description other than the library description to correspond to a target processor-adapted assembler code. The library description is made up of functions defined in high-level language. In order to produce target processor-adapted software, a dedicated translator transforms the library description into, one by one, an assembler code, while a compiler compiles the versatile description. A simulator includes a compiler that is operable to compile the library description with reference to a library.

## Claims

### Claim 1

A software development system operable to read a source code described in high-level language, and to create a target processor-adapted assembler code, said software development system comprising:
a compiler to be run on a host processor that differs from a target processor,
wherein the source code includes a library description and a versatile description other than the library description to correspond to the target processor-adapted assembler code, the library description being made with the use of one of a function and a procedure, both of which are defined using the high-level language, the versatile description being made by the high-level language.

### Claim 2 (depends on 1)

A software development system as defined in claim 1, further comprising a dedicated translator operable to transform the library description into, one by one, a target processor-adapted, first assembler code, wherein said compiler compiles the versatile description, thereby creating a target processor-adapted, second assembler code.

### Claim 3 (depends on 2)

A software development system as defined in claim 2, wherein the source code includes variable allocation-related information, and wherein said compiler creates the target processor-adapted assembler code in which the variable allocation-related information is reflected.

### Claim 4 (depends on 1)

A software development system as defined in claim 1, wherein the source code differentiates the library description from the versatile description using information that is interpreted as a comment by said compiler.

### Claim 5 (depends on 1)

A software development system as defined in claim 1, wherein the source code has the library description sandwiched between a starting identifier and an ending identifier so as to separate the library description from the versatile description, the starting and ending identifiers being described in such a manner as to be interpreted as comments by said compiler.

### Claim 6 (depends on 3)

A software development system as defined in claim 3, wherein the variable allocation-related information is described in such a manner as to be interpreted as a comment by said compiler.

### Claim 7 (depends on 1)

A software development system as defined in claim 1, wherein the source code contains compiler pseudo-instructions that comprise a library, the library defining one of a function and a procedure, both of which are used in the library description.

### Claim 8 (depends on 1)

A recording medium in which a program to instruct a computer to run said software development system as defined claim 1 is recorded.

### Claim 9

A simulator to be run on a host processor, said simulator being operable to read a source code described in high-level language, and to simulate how a target processor is operated according to the source code, said simulator comprising:
a compiler operable to create an object code to be run on said host processor; and
a library to be referenced by said compiler, said library including a definition of one of a function and a procedure, both of which are used in a library description,
wherein the source code includes the library description and a versatile description other than the library description to correspond to a target processor-adapted assembler code, the library description being made with the use of one of a function and a procedure, both of which are defined using the high-level language, the versatile description being made by the high-level language,
wherein said compiler compiles the versatile description to create a host processor-adapted, first assembler code, and compiles the library description with reference to said library, thereby creating a host processor-adapted, second assembler code, and
wherein said simulator transforms the created first and second assembler codes into an object code executable on said host processor.

### Claim 10 (depends on 9)

A simulator as defined in claim 9, wherein the library description includes variable allocation-related information, and wherein a connection between the library description and the versatile description is generated in accordance with the variable allocation-related information, thereby adding the generated connection to the object code.

### Claim 11 (depends on 9)

A simulator as defined in claim 9, wherein said library includes a target processor interrupt capability that is controllable to be switched on and off during simulation on said host processor.

### Claim 12 (depends on 9)

A simulator as defined in claim 9, wherein said library includes a target processor execution cycle number-counting capability that is possible to measure the number of target processor cycles during simulation on said host processor.

### Claim 13 (depends on 9)

A simulator as defined in claim 9, wherein the source code differentiates the library description from the versatile description using information that is interpreted as a comment by said compiler.

### Claim 14 (depends on 9)

A simulator as defined in claim 9, wherein the source code has the library description sandwiched between a starting identifier and an ending identifier so as to separate the library description from the versatile description, the starting and ending identifiers being described in such a manner as to be interpreted as comments by said compiler.

### Claim 15 (depends on 10)

A simulator as defined in claim 10, wherein the variable allocation-related information is described in such a manner as to be interpreted as a comment by said compiler.

### Claim 16 (depends on 9)

A simulator as defined in claim 9, wherein the source code contains compiler pseudo-instructions that comprise said library, said library defining one of a function and a procedure, both of which are used in the library description.

### Claim 17 (depends on 9)

A recording medium in which a program to exercise said simulator as defined claim 9 is recorded.
