Machine instructions

Figure 4. Machine instructions
*---------------*        *---------------*        *---------------*
|               |        |               |        |               |
|     NAME      |        |   OPERATION   |        |    OPERAND    |
|     Field     |        |   Field       |        |    Field      |
|               |        |               |        |               |
*-------*-------*        *-------*-------*        *-------*-------*
        |                        |                        |
        V Which                  V Which                  V Which
        | can be                 | must be                | can be
*-------*-------*        *-------*-------*        *-------*-------*
|               |        |               |        |               |
|   A Symbol1   |        |   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     |        | Graphic2      |
|               |        |               |        |               |        |               |        |               |
|    (e.g. 9)   |        | (e.g. X'F9')  |        | (e.g. B'111') |        | (e.g. C'JAN') |        | (e.g. G'<.A>')|
|               |        |               |        |               |        |               |        |               |
*---------------*        *---------------*        *---------------*        *---------------*        *---------------*

1 Can be an ordinary symbol, a variable symbol, or a sequence symbol
2 With DBCS option only

[ Top of Page | Previous Page | Next Page | Contents | Index ]