nut v2.4    1 Feb 2005


nut package  release 2.4
contain
noss 1.1  -- nos simulator
nos         --  nos (in nut)
nut 2.1    -- nut compiler
ns2 2.0   --  nut to s2 code generator ( a complete version)
as2 2.0    --  s2 assembler for nut

executable files:  noss, nut21, ns22, as22

sample session, for compiling nos (the os with apps) to S2 object.

compile nos, generate a.obj  (nut object)

c:> nut21 < nos.txt    
     

[run noss, to simulate os with apps. (include in nos.txt)

c:> noss < a.obj ]    
   

convert a.obj to S2 code, nos.s2 is the assembly language of S2

c:> ns22 < a.obj > nos.s2    


assemble nos.s2, generate s2 object, also generate a.lis  (the s2 assembly listing file)

c:> as22 < nos.s2 > nos-s2.obj


files:

nos.txt  --  nos with applications (concurrent programs)
a.obj      --  nut object code (executable under nos simulator)
nos.s2   --  nos in S2 assembly
nos-s2.obj  --  S2 object code of nos (executable under s2 simulator ?)
a.lis      --  nos S2 listing file (for debugging aids)

1 Feb 2005
P. Chongstitvatana