22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OPSYN Instruction<br />

,ERROR, SEV 1<br />

An asterisk in the severity code subfield causes the message and the asterisk<br />

to be generated as a comment statement.<br />

Example:<br />

MNOTE ,'NO ERROR'<br />

The generated result is:<br />

,NO ERROR<br />

If the severity code subfield is omitted, including the comma separating it from<br />

the message, the assembler generates the message as a comment statement.<br />

Notes:<br />

Example:<br />

MNOTE 'NO ERROR'<br />

The generated result is:<br />

NO ERROR<br />

1. An MNOTE instruction causes a message to be printed, if the current PRINT<br />

option is ON, even if the PRINT NOGEN option is specified.<br />

2. The statement number of the message generated from an MNOTE instruction<br />

with a severity code is listed among any other error messages for the current<br />

source module. However, the message is printed only if the severity code<br />

specified is greater than or equal to the severity code nnn specified in the<br />

FLAG(nnn) assembler option.<br />

3. The statement number of the comments generated from an MNOTE instruction<br />

without a severity code is not listed among other error messages.<br />

OPSYN Instruction<br />

The OPSYN instruction defines or deletes symbolic operation codes.<br />

The OPSYN instruction has two formats. The first format defines a new operation<br />

code to represent an existing operation code, or to redefine an existing operation<br />

code for:<br />

Machine and extended mnemonic branch instructions<br />

Assembler instructions, including conditional assembly instructions<br />

Macro instructions<br />

Define Operation Code<br />

►►──┬─symbol───────────┬──OPSYN──operation_code_2──────────────────►◄<br />

└─operation_code_1─┘<br />

The second format deletes an existing operation code for:<br />

Machine and extended mnemonic branch instructions<br />

Assembler instructions, including conditional assembly instructions<br />

Macro instructions<br />

198 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!