Introduction
NCL is the native programming language of the NCS/e.
It is a small, assembly-like language built around a unified memory space, direct control flow, and an extensible instruction set.
A simple program might look like:
MOVE $000 10
:loop
D.TXT "Hello!\n"
DEC $000
BNEQ :loop $000 0
D.BLT
HALT
NCL programs operate directly on memory and CPU state. Core CPU instructions provide basic computation and control flow, while namespaced verbs provide access to coprocessors, system services, expansion modules, and peripherals.
Source-level features such as constants, labels, and relative line references make programs easier to write without adding additional runtime abstractions.
The following sections describe how NCL source is written, how the NCS/e stores and addresses data, and the instructions available to programs.