NAR 2 - Standard Assembly Language Syntax

Standard Assembly Language Syntax

NAR 2 assembly language syntax was straightforward and easy to parse. Each program line could contain up to one instruction specified as follows:

  1. Instruction mnemonic
  2. Whitespace, if instruction specifies any index registers, addressing mode or a parameter and then comma-separated:
    1. Name of index register, if used
    2. Names of addressing mode flags (also comma separated)
    3. Parameter value

Sample code:

aum X1, p, 0 mua n, 1 aum 15 pir X1, p, n, 1 mua X1, p, n, 0 oduf n, 1 oduf X2, p, n, 0

Read more about this topic:  NAR 2

Famous quotes containing the words standard, assembly and/or language:

    As long as male behavior is taken to be the norm, there can be no serious questioning of male traits and behavior. A norm is by definition a standard for judging; it is not itself subject to judgment.
    Myriam Miedzian, U.S. author. Boys Will Be Boys, ch. 1 (1991)

    There is a sacred horror about everything grand. It is easy to admire mediocrity and hills; but whatever is too lofty, a genius as well as a mountain, an assembly as well as a masterpiece, seen too near, is appalling.
    Victor Hugo (1802–1885)

    Jargon: any technical language we do not understand.
    Mason Cooley (b. 1927)