write some stuff in asm.c