in your asm code... ; if sample = inphase then donothing

think about it a little bit