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:
- Instruction mnemonic
- Whitespace, if instruction specifies any index registers, addressing mode or a parameter and then comma-separated:
- Name of index register, if used
- Names of addressing mode flags (also comma separated)
- 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, 0Read more about this topic: NAR 2
Famous quotes containing the words standard, assembly and/or language:
“I find it interesting that the meanest life, the poorest existence, is attributed to Gods will, but as human beings become more affluent, as their living standard and style begin to ascend the material scale, God descends the scale of responsibility at a commensurate speed.”
—Maya Angelou (b. 1928)
“A man may be a heretic in the truth; and if he believe things only because his pastor says so, or the assembly so determines, without knowing other reason, though his belief be true, yet the very truth he holds becomes his heresy.”
—John Milton (16081674)
“So runs my dream: but what am I?
An infant crying in the night;
An infant crying for the light:
And with no language but a cry.”
—Alfred Tennyson (18091892)