Skip to main content
Engineering LibreTexts

7.1: Notational Conventions

  • Page ID
    19897
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    This section summarizes the notation used within this text which is fairly common in the technical literature. In general, an instruction will consist of the instruction or operation itself (i.e., add, sub, mul, etc.) and the operands. The operands refer to where the data (to be operated on) is coming from and/or where the result is to be placed.

    Operand Notation

    The following table summarizes the notational conventions used in the remainder of the document.

    Operand Notation Description
    <reg> Register operand. The operand must be a register.
    <reg8>, <reg 16>,
    <reg32>, <reg64>
    Register operand with specific size requirement. For example, reg8 means a byte sized register (e.g., al, bl, etc.) only and reg32 means a double-word sized register (e.g., eax, ebx, etc.) only.
    <dest> Destination operand. The operand may be a register or memory. Since it is a destination operand, the contents will be overwritten with the new result (based on the specific instruction).
    <RXdest> Floating-point destination register operand. The operand must be a floating-point register. Since it is a destination operand, the contents will be overwritten with the new result (based on the specific instruction).
    <src> Source operand. Operand value is unchanged after the instruction.
    <imm> Immediate value. May be specified in decimal, hex, octal, or binary.
    <mem> Memory location. May be a variable name or an indirect reference (i.e., a memory address).
    <op> or <operand> Operand, register or memory.
    <op8>, <op16>,
    <op32>, <op64>
    Operand, register or memory, with specific size requirement. For example, op8 means a byte sized operand only and reg32 means a double-word sized operand only.
    <label> Program label.

    By default, the immediate values are decimal or base-10. Hexadecimal or base-16 immediate values may be used but must be preceded with a 0x to indicate the value is hex. For example, 1510 could be entered in hex as 0x0F.

    Refer to Chapter 8, Addressing Modes for more information regarding memory locations and indirection.


    This page titled 7.1: Notational Conventions is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by Ed Jorgensen.

    • Was this article helpful?