adapt multiple sources
adapt some assembler directives