Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Machine instructions HLASM Language Reference SC26-4940-06 |
|
Figure 1. Machine
instructions
┌───────────────┐ ┌───────────────┐ ┌───────────────┐ │ │ │ │ │ │ │ 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 │ │ arguments │ │ │ │ Code │ │ │ └───────────────┘ └───────────────┘ └───────┬───────┘ │ V Composed of one of ┌────────────────────────┬───────────┴────────────┐ V V V ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ │ │ │ │ │ │ │ │ │ │ │ Exp(Exp,Exp) │ │ Expression │ │ Exp(Exp) │ │ or │ │ │ │ │ │ Exp(,Exp) │ │ │ │ │ │ │ └───────┬───────┘ └───────────────┘ └───────────────┘ │ V Which can be one of ┌────────────┴───────────┐ V V ┌───────┴───────┐ ┌───────┴───────┐ │ │ │ │ │ │ │ Arithmetic │ │ Term │ │ combination │ │ │ │ of terms │ │ │ │ │ └───────┬───────┘ └───────────────┘ │ V Which can be any of ├────────────────────────┬────────────────────────┬────────────────────────┬────────────────────────┐ V V V V V ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ │ │ │ │ │ │ │ │ │ │ │ A Symbol │ │ Location │ │ Symbol │ │ A │ │ A Literal │ │ │ │ Counter │ │ Attribute │ │ Self-Defining │ │ │ │ │ │ Reference │ │ Reference │ │ Term │ │ │ │ (e.g. HERE) │ │ (i.e. *) │ │ (e.g. L'HERE) │ │ │ │ (e.g. =H'9') │ └───────────────┘ └───────────────┘ └───────────────┘ └───────┬───────┘ └───────────────┘ │ V Which can be any of ┌────────────────────────┬────────────────────────┬────────────────────────┼────────────────────────┐ V V V V V ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ ┌───────┴───────┐ │ │ │ │ │ │ │ │ │ │ │ Decimal │ │ Hexadecimal │ │ Binary │ │ Character │ │ Graphic² │ │ │ │ │ │ │ │ │ │ │ │ (e.g. 9) │ │ (e.g. X'F9') │ │ (e.g. B'111') │ │ (e.g. C'JAN') │ │ (e.g. G'<.A>')│ │ │ │ │ │ │ │ │ │ │ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ └───────────────┘ ¹ Can be an ordinary symbol, a variable symbol, or a sequence symbol ² With DBCS option only |
Copyright IBM Corporation 1990, 2014
|