Skip to content

The Language Reference

Bananattack edited this page Aug 18, 2011 · 21 revisions

Home - The Language Reference

The reference manual for nel, a language which is intended to run on the original Nintendo Entertainment System. This language discards the mnemonics and restricted syntax of other 6502 assemblers and replaces it with a new syntax, while still mapping to the same 6502 machine code. It gives the direct control like any other assembly language, but with the syntactic flavoring of a higher-level language.

nel changes syntax for the better. It introduces language keywords and new syntactic constructs, instead of relying on dot-prefixed .directives. It no longer mandates obscure whitespace rules. It combines similar 6502 instructions into condensed groups (this: get src, instead of lda, ldx, ldy, tax, txs, and so forth). The result is more legible assembly.

Table of Contents