

IFS=" "


cpp bootsector.S | cat -s > bootsector.s

as -anl  bootsector.s  > as_list

objcopy -O binary a.out bootsector


wc *

scan 500 as_list > /scratch/bla
read A1 A2 REST < /scratch/bla
rm /scratch/bla

echo -n "bytes of code ="
calculate  0x$A2

