Next: , Previous: 386 Assembler, Up: Assembler and Code Words

5.26.5 Alpha Assembler

The Alpha assembler and disassembler were originally written by Bernd Thallner.

The register names a0a5 are not available to avoid shadowing hex numbers.

Immediate forms of arithmetic instructions are distinguished by a # just before the ,, e.g., and#, (note: lda, does not count as arithmetic instruction).

You have to specify all operands to an instruction, even those that other assemblers consider optional, e.g., the destination register for br,, or the destination register and hint for jmp,.

You can specify conditions for if, by removing the first b and the trailing , from a branch with a corresponding name; e.g.,

     11 fgt if, \ if F11>0e

fbgt, gives fgt.