/ a21 -- pdp-11 assembler pass 2
/ set up sizes and origins
add $14,symsiz / count symbols
add $31,r4 /mark "estimated"
/ read in f-b definitions
/ set up input text file; initialize f-b table
mov r3,bssbase / txtsiz+datsiz
mov r3,symseek+2 / 2*txtsiz+2*datsiz+20
mov r3,drelseek+2 / 2*txtsiz+datsiz
mov r3,trelseek+2 / txtsiz+datsiz+20
mov r3,datseek+2 / txtsiz+20
/polish off text and relocation
/ append full symbol table
sys chmod; a.outp2:a.out; outmod: 777