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:

    Society’s double behavioral standard for women and for men is, in fact, a more effective deterrent than economic discrimination because it is more insidious, less tangible. Economic disadvantages involve ascertainable amounts, but the very nature of societal value judgments makes them harder to define, their effects harder to relate.
    Anne Tucker (b. 1945)

    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)

    I am always sorry when any language is lost, because languages are the pedigree of nations.
    Samuel Johnson (1709–1784)