MIPS Architecture - MIPS Assembly Language

MIPS Assembly Language

These are assembly language instructions that have direct hardware implementation, as opposed to pseudoinstructions which are translated into multiple real instructions before being assembled.

  • In the following, the register letters d, t, and s are placeholders for (register) numbers or register names.
  • C denotes a constant (immediate).
  • All the following instructions are native instructions.
  • Opcodes and funct codes are in hexadecimal.
  • The MIPS32 Instruction Set states that the word unsigned as part of Add and Subtract instructions, is a misnomer. The difference between signed and unsigned versions of commands is not a sign extension (or lack thereof) of the operands, but controls whether a trap is executed on overflow (e.g. Add) or an overflow is ignored (Add unsigned). An immediate operand CONST to these instructions is always sign-extended.

Read more about this topic:  MIPS Architecture

Famous quotes containing the words assembly and/or language:

    Our assembly being now formed not by ourselves but by the goodwill and sprightly imagination of our readers, we have nothing to do but to draw up the curtain ... and to discover our chief personage on the stage.
    Sarah Fielding (1710–1768)

    Denotation by means of sounds and markings is a remarkable abstraction. Three letters designate God for me; several lines a million things. How easy becomes the manipulation of the universe here, how evident the concentration of the intellectual world! Language is the dynamics of the spiritual realm. One word of command moves armies; the word liberty entire nations.
    Novalis [Friedrich Von Hardenberg] (1772–1801)