Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Assembler instructions HLASM Language Reference SC26-4940-06 |
|
Figure 1. Ordinary
assembler instruction statements
┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │ NAME │ │ OPERATION │ │ OPERAND │ │ Field │ │ Field │ │ Field │ └───────┬───────┘ └───────┬───────┘ └───────┬───────┘ │ │ │ V Which V Which V Which │ can be │ must be │ can be ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ │ A Symbol¹ │ │ A symbolic │ │ Zero or more │ │ (or space) │ │ Operation │ │ operands │ │ │ │ Code² │ │ │ └───────────────┘ └───────────────┘ └───────┬───────┘ │ │ ┌───────────────────────────────────────────────┴────────────────────────────┐ V V ┌──────────┴──────────┐ ┌──────────┴──────────┐ │ For Data Definition │ │ For all other │ │ (DC and DS │ │ ordinary Assembler │ │ Instructions) │ │ Instructions │ └──────────┬──────────┘ └──────────┬──────────┘ │ │ V Operands can be V Operands │ composed of one │ can be composed │ to five subfields³ │ of³ ┌────────────────┼──────────────┬───────────────┬────────────────┐ ┌───────────────┼────────────────┐ │ │ │ │ │ │ │ │ ┌─────┴──────┐ ┌──────┴─────┐ ┌─────┴──────┐ ┌─────┴──────┐ ┌─────┴──────┐ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │Duplication │ │ Type │ │ Type │ │ Modifiers │ │ Nominal │ │ │ │ │ factor │ │ │ │ Extension │ │ │ │ Value │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └──────┬─────┘ └──────┬─────┘ └─────┬──────┘ └─────┬──────┘ └─────┬──────┘ │ │ │ │ │ │ │ │ V V V │ │ │ │ │ │ │ │ V V V V V ┌─────┴──────┐ ┌─────┴──────┐ ┌─────┴──────┐ │ ┌─────────────┘ │ │ │ │ Expression │ │ Character │ │ Symbolic │ │ │ ┌─────────────────────────┘ │ │ │ (e.g.*+14) │ │ String │ │ Option │ │ │ │ ┌─────────────────────────────────────┘ │ │ │ │ (e.g. 'XX')│ │ (e.g. GEN) │ │ │ │ │ ┌──────┐ │ └────────────┘ └────────────┘ └────────────┘ │ │ │ │ │ │ │ V V V V V │ V e.g. 10 E B L2 '12' │ │ One or more nominal values └──┴──┴──┴───┴─────┘ │ ┌────────────────────────┬────────────┴─────────────┬──────────────────────────┐ ∧ │ │ │ │ │ V V V V ┌───┴───┴───────┐ ┌───────┴───────┐ ┌──────┴──────┐ ┌───────┴───────┐ │ 'Decimal │ │ (Expression) │ │ 'Character │ │ 'Graphic │ │ number' │ │ │ │ string' │ │ string'⁴ │ │ (e.g. '12') │ │ (e.g. (ADDR)) │ │ (e.g. 'ABC')│ │ (e.g. '<.A>') │ └───────────────┘ └───────────────┘ └─────────────┘ └───────────────┘ ¹ Can be an ordinary symbol, a variable symbol, or a sequence symbol ² Includes symbolic operation codes of macro definitions ³ Discussed more fully where individual instructions are described ⁴ With DBCS option only |
Copyright IBM Corporation 1990, 2014
|