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.

PRINT Instruction<br />

sequence_symbol<br />

is a sequence symbol.<br />

operand<br />

is an operand from one of the groups of operands described below. If a null<br />

operand is supplied, it is accepted by the assembler with no effect on the other<br />

operands specified. The operands are listed in hierarchic order. The effect, if<br />

any, of one operand on other operands is also described.<br />

┌─ON──┐<br />

►►──┼─────┼────────────────────────────────────────────────────────►◄<br />

└─OFF─┘<br />

ON<br />

instructs the assembler to print, or resume printing, the source and object<br />

section of the assembler listing.<br />

OFF<br />

instructs the assembler to stop printing the source and object section of the<br />

assembler listing. A subsequent PRINT ON instruction resumes printing.<br />

When this operand is specified the printing actions requested by the GEN,<br />

DATA, MCALL, and MSOURCE operands do not apply.<br />

┌─GEN───┐<br />

►►──┼───────┼──────────────────────────────────────────────────────►◄<br />

└─NOGEN─┘<br />

GEN<br />

instructs the assembler to print all statements generated by the processing of a<br />

macro. This operand does not apply if PRINT OFF has been specified.<br />

NOGEN<br />

instructs the assembler not to print statements generated by conditional<br />

assembly or the processing of a macro. This applies to all levels of macro<br />

nesting; no generated code is displayed while PRINT NOGEN is in effect. If<br />

this operand is specified, the DATA operand does not apply to constants that<br />

are generated during macro processing. Also, if this operand is specified, the<br />

MSOURCE operand does not apply. When the PRINT NOGEN instruction is in<br />

effect, the assembler prints one of the following on the same line as the macro<br />

call or model statement:<br />

The object code for the first instruction generated. The object code<br />

includes the data that is shown under the ADDR1 and ADDR2 columns of<br />

the assembler listing.<br />

The first 8 bytes of generated data from a DC instruction<br />

When the assembler forces alignment of an instruction or data constant, it<br />

generates zeros in the object code and prints the generated object code in the<br />

listing. When you use the PRINT NOGEN instruction the generated zeros are<br />

not printed.<br />

Chapter 5. Assembler Instruction Statements 205

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

Saved successfully!

Ooh no, something went wrong!