SH64 Opcodes - Using as
Description: Using as

Previous: SH64 Directives, Up: SH64-Dependent

#### 9.40.4 Opcodes

For detailed information on the SH64 machine instruction set, see SuperH 64 bit RISC Series Architecture Manual (SuperH, Inc.).

`as` implements all the standard SH64 opcodes. In addition, the following pseudo-opcodes may be expanded into one or more alternate opcodes:

`movi`
  If the value doesn't fit into a standard `movi` opcode, `as` will replace the `movi` with a sequence of `movi` and `shori` opcodes.
`pt`
  This expands to a sequence of `movi` and `shori` opcode, followed by a `ptrel` opcode, or to a `pta` or `ptb` opcode, depending on the label referenced.