You must specify an operation code for each machine instruction statement. The symbolic operation code, or mnemonic code as it is also called, indicates the type of operation to be done; for example, A indicates the addition operation. See the applicable Principles of Operation manual for a complete list of symbolic operation codes and the formats of the corresponding machine instructions.
The general format of the machine instruction operation code is:
| Operation code format |
|---|
|
A 3,AREA A indicates an add operation MVC TO,FROM MV indicates a move operation
The other items in the operation code are not always present. They include the following (underscores are used to indicate modifiers, data types, and machine formats in the examples below):
AL 3,AREA L indicates a logical operation
CVB 3,BINAREA B indicates binary data MVC TO,FROM C indicates character data AE 2,FLTSHRT E indicates normalized short floating-point data AD 2,FLTLONG D indicates normalized long floating-point data
ADR 2,4 R indicates a register operand MVI FIELD,X'A1' I indicates an immediate operand AHI 7,123
[ Top of Page | Previous Page | Next Page | Contents | Index ]