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:

    Neither I nor anyone else knows what a standard is. We all recognize a dishonorable act, but have no idea what honor is.
    Anton Pavlovich Chekhov (1860–1904)

    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)

    It is silly to call fat people “gravitationally challenged”Ma self-righteous fetishism of language which is no more than a symptom of political frustration.
    Terry Eagleton (b. 1943)