describe some knowlodge based on cortex-M3 and analyze some code