MIPS Assembly Language (cont)
MIPS assembly language programs contain
- comments ... introduced by
#
- labels ... appended with
: . Labels give names to memory locations/addresses
- directives ... symbol beginning with
. These specify directions to the assembler.
- assembly language instructions
Programmers need to specify
- data objects that live in the data region
- functions (instruction sequences) that live in the code/text region
Each instruction or directive appears on its own line
|