modify asm code of sad in processing