copy pasted AssemblyCodeGenerator from 131 homepage