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:
“Where shall we look for standard English but to the words of a standard man?”
—Henry David Thoreau (18171862)
“Had every Athenian citizen been a Socrates, every Athenian assembly would still have been a mob.”
—James Madison (17511836)
“We might hypothetically possess ourselves of every technological resource on the North American continent, but as long as our language is inadequate, our vision remains formless, our thinking and feeling are still running in the old cycles, our process may be revolutionary but not transformative.”
—Adrienne Rich (b. 1929)