SPRAB89A September 2011 – March 2014
Throughout this document we use code fragments to illustrate addressing, calling sequences, and so on. In the fragments, the following notational conventions are often used:
sym | The symbol being referenced |
label | A symbol referring to a code address |
func | A symbol referring to a function |
tmp | A temporary register (also tmp1, tmp2, etc) |
reg, reg1, reg2 | An arbitrary register |
dest | The destination register for a resulting value or address |
There are several assembler built-in operators introduced. These serve to generate appropriate relocations for various addressing constructs, and are generally self-evident.
For simplicity, code sequences are unscheduled. That is, each instruction is assumed to complete before commencing execution of the next instruction.