[TUHS] PDP-7 Unix: The B compiler works

Warren Toomey wkt at tuhs.org
Thu Mar 24 05:28:20 AEST 2016


We've got the B compiler working. Robert Swierczek gets all the credit.
Cheers, Warren

@ ls -l .
00004 drwr- 04 777 00050 dd      
00003 drwr- 03 777 00340 system  
00046 srwr- 01 014 00130 b_readme
00047 lrwr- 01 014 04065 bi.s    
00050 lrwr- 01 014 02016 bl.s    
00051 srwr- 01 014 00073 hello.b 
00052 lrwr- 01 014 03450 ops.s   
00045 drwr- 02 014 00110 .       

@ cat hello.b
main $(
  write('He');
  write('ll');
  write('o,');
  write(' W');
  write('or');
  write('ld');
  write('!*n');
$)

@ bc hello.b hello.s
@ as ops.s bl.s hello.s bi.s
I
II
ops.s   
bl.s    
hello.s 
bi.s    

@ a.out
Hello, World!



More information about the TUHS mailing list