When editing and creating machine instruction definitions, you can add machine
instruction parameters.
Procedure
To create a new machine instruction parameter, complete the following
steps:
- Do one of the following actions:
- In the HLASM tab of the Editor Options preference page, type the name of your user macro
file in the User Macro File field.
- In the HLASM Parser preference page, type the name of your user macro file in the
User Macro File field.
- Click on the Manage button next to the User Macro
File field.
The Manage Macro Files dialog appears
and, if specified, it will load the macro file from the User Macro File
field.
- Select the Machine Instruction tab.
- Do one of the following:
- Click on the New button, specify the instruction name, and click on
the Next button to go to the Parameters page
- Click on the Edit button to edit an existing instruction.
- Click on the Copy button to copy an existing instruction.
- Click on the New button to create a new
parameter.
The Define Parameter dialog
appears.
- Specify the parameter name in the Name field.
- Optional. Specify a description for the parameter. The parameter description appears
during a content assist to provide you with additional information.
- Specify the Parameter Format.
- Specify whether or not this parameter is required.
- Click on the Ok button.
The parameter has now been added to the parameter table.
- Click Ok in the Define Machine Instruction
dialog.
The instruction is updated in the instruction list.
- Click OK in the Manage Macro Files
dialog.