more fleshed out reading / writing of assembly and bitcode