Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Operand entries HLASM Language Reference SC26-4940-06 |
|
Operand entries contain zero or more operands that identify and
describe data to be acted upon by the instruction, by indicating such
information as storage locations, masks, storage area lengths, or
types of data. The following rules apply to operands:
The following instruction is correctly coded:
The following instruction appears to be the same, but is not:
In this example, the embedded space means that the operand
finishes after "4". There is no assembler error, but the result
is an LA R1,4, which is possibly not what
you intended.A space inside unquoted parentheses is an error, and leads to a
diagnostic. The following instruction is correctly coded:
The following instruction, with an extra space, is not correct:
The following example shows a space enclosed in quotes, as part
of a string. This space is properly accounted for:
In quotes, spaces and parentheses can occur in any quantity and
in any order:
|
Copyright IBM Corporation 1990, 2014
|