HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


ASMA031E

HLASM Programmer's Guide
SC26-4941-06

Invalid immediate or mask field

Explanation

The value of an immediate or mask operand of a machine instruction requires more bits to represent it than allowed by the instruction, or the value of the immediate operand exceeds 9 on an SRP instruction or 15 on an MC instruction.

Immediate fields used in an arithmetic context are allowed to be signed, those in a logical context are not; for example:
    AHI  r1,-30000   is valid, but
    AHI  r1,50000    is not

    TMH  r1,50000    is valid, but
    TMH  r1,-30000   is not

System action

The instruction assembles as zero.

Programmer response

Use a valid immediate operand, or specify the immediate information in a DC statement or a literal and change the statement to a non-immediate type.

Severity

8

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014