asm code and some notes