comment useless code
save r7, because c function use r7
add #if for convenience