摘要 |
PROBLEM TO BE SOLVED: To provide an appropriate machine language program with the least number of program steps by omitting redundant extended commands when the extended macro command included in an assembler source program is developed to a basic command and an extended command. SOLUTION: The assembler device 1 for converting the assembler source program to the machine language program executable by a processor 5 develops the extended macro command (Xld command and Xjnz command) to the basic command (ld command and jnz command) and the extended command (ext command). After that, the numerical data of an operand of the extended ext command is determined to optimize the ext command omitting the redundant command, and if the address of the label is changed by the optimization of the ext command, the ext command is optimized again. COPYRIGHT: (C)2009,JPO&INPIT
|