Creating a machine instruction parameter

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:

  1. 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.
  2. 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.
  3. Select the Machine Instruction tab.
  4. 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.
  5. Click on the New button to create a new parameter.
    The Define Parameter dialog appears.
  6. Specify the parameter name in the Name field.
  7. Optional. Specify a description for the parameter. The parameter description appears during a content assist to provide you with additional information.
  8. Specify the Parameter Format.
  9. Specify whether or not this parameter is required.
  10. Click on the Ok button.
    The parameter has now been added to the parameter table.
  11. Click Ok in the Define Machine Instruction dialog.
    The instruction is updated in the instruction list.
  12. Click OK in the Manage Macro Files dialog.