摘要 |
PURPOSE:To simplify the skeleton designing work by suppressing the output of a generating definition label if a taken-out instruction is defined with a generating label and a comparison operator is 'Not equal'. CONSTITUTION:Compiler takes out and inputs one intermediate language instruction from an intermediate language instruction string 3. A skeleton developing routine 2 calls a comparison operator setting routine 4 to set a comparison operator (i) in a work area. A take-out condition discriminating routine 5 is called to determine the state of the take-out condition. A required skeleton instruction is repeatedly taken out in accordance with the take-out condition. If the taken-out skeleton instruction is defined with a generating label independent of the comparison operator, it is outputted to an output instruction string 7 as it is. If it is defined with a generating label dependent upon the comparison operator, the comparison operator (i) is checked, and the skeleton instruction is outputted to the output instruction string 7 if the comparison operator (i) is not NE, but otherwise, the output is suppressed.
|