ND-500 Assembler

From NDWiki
Jump to: navigation, search

ND-500 ASSEMBLER is an assembler for computers of the ND-500 and ND-5000 lines from Norsk Data.

The assembler is a two-pass cross assembler which runs under SINTRAN on the ND-100 CPU, and produces relocatable code (NRF files) for the ND-500 CPU. The same assembler version executes on both 32-bit and 48-bit floating point hardware versions of the ND-100 CPU.

The NRF files can be linked with programs written in high level languages, but full stand-alone programs can also be produced in assembly. The assembler also outputs a listing file, and a symbol table at the end of the listing. A cross reference table may also be produced. It can be used interactively, or alternatively with all parameters (source file, list file, object file) specified on the command line.

The original documentation (1979, and second edition 1980) called the assembler NORD-500 ASSEMBLER, but the program referred to itself as ND-500 ASSEMBLER at least as early as from version 2.15. Version 2.5 still used NORD-500 ASSEMBLER.

Known versions

(Note that the invocation name can be arbitrarily decided by the system administrator, by dumping it by any chosen name. The 2.15 BPUN file was called ASSEMBLER-500:BPUN though)

@N500-ASSEMBLER
NORD-500 ASSEMBLER 2.5, 19 November 1979
$
$HELP
COMMAND NAME:
HELP         <COMMAND NAME>
EXIT
LINES        <LINES PER PAGE>
ASSEMBLE     <SOURCE FILE> <LIST FILE> <OBJECT FILE>
LIST         <LIST DIRECIVE>
NO-LIST      <LIST DIRECIVE>
PRINT-MACRO  <MACRO NAME> <OUTPUT FILE>
TABLE-SIZES  <SIZE PARAMETER>
$EXIT
@
@ASSEMBLER-500
ND-500 ASSEMBLER 2.15, 13 JANUARY 1982.
$
$HELP
COMMAND NAME: 
HELP         <COMMAND NAME>
EXIT
PAGE-SIZE    <LINES PER PAGE>
ASSEMBLE     <SOURCE FILE> <LIST FILE> <OBJECT FILE>
LIST         <LIST DIRECIVE>
NO-LIST      <LIST DIRECIVE>
PRINT-MACRO  <MACRO NAME> <OUTPUT FILE>
TABLE-SIZES  <SIZE PARAMETER>
$EXIT
@

(and yes, 'DIRECIVE' is spelled incorrectly by the program.)

The versions above are obviously unaware of the "'87 extensions", i.e. newer instructions introduced with the ND-5000.

Sources