asm code generator helper class