split up AsmSClass creation