mc -O -S getchar.c
ed getchar.s
1,$s/L/io1/gp
w
q
mc -O -S putchar.c
ed putchar.s
1,$s/L/io2/gp
w
q
mc -O -S printf.c
ed printf.s
1,$s/L/io3/gp
1,$s/div/iodiv/gp
1,$s/mult/iomult/gp
w
q
cat iomult.s iodiv.s getchar.s putchar.s printf.s > io.s
rm getchar.s putchar.s printf.s
echo "move io.s to library"
