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:
“When Freedom, from her mountain height,
Unfurled her standard to the air,
She tore the azure robe of night,
And set the stars of glory there;”
—Joseph Rodman Drake (17951820)
“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 (18021885)
“Poetry is the universal language which the heart holds with nature and itself. He who has a contempt for poetry, cannot have much respect for himself, or for anything else.”
—William Hazlitt (17781830)