ND Relocatable Format

From NDWiki
Revision as of 21:38, 23 July 2014 by Tingo (talk | contribs) (added Glossary category)
Jump to navigation Jump to search

ND-500(0) compilers and the ND-500 assembler generate NRF files consisting of one or more NRF modules. The modules contain NRF control groups, which are NRF control numbers plus additional information.

NRF Control Numbers

  • N: Numeric Field
  • S: Symbolic Field
Summary of NRF control numbers
Control Number Mnemonic Trailing info Brief description
0 NUL N Symbol ignored
1 BEG N Beginning of module
2 END N End of module
3 MSA N Main start address
4 LIB N, S Library
5 DEF N, S Program symbol definition
6 REF N, S Program reference
7 LRF N, S Library reference
10 DDF N, S Data symbol definition
11 DRF N, S Data symbol reference
12 RMV N, S Remove symbol
13 SLA N, S Set load address
14 AJS N Adjust
15 PMO N Set progam mode
16 DMO N Set data mode
17 FMO N, S Set free mode
20 REP N Repeat
21 LDI N Load immediately
22 ADI N Add immediately
23 APA N Add program address
24 ADA N Add data address
25 IHB N Execution inhibit (compiler errors)
26 EOF N End of file
27 DBG N Debug
30 LBB N, S Library module bytepointer
31 MSG N, S Message
32 MIS N Miscellaneous
0 GCR0 Start of compound group
1 CGR1 End of compound group
2 ADD Add reference value
3 SUB Subtract reference value
4 MUL Multiply by referenced value
5 DIV Divide by referenced value
33 LDN N Load N bytes immediately
34 IL1 Illegal
35 IL2 Illegal
36 IL3 Illegal
37 IL4 Illegal