gas conversion in c code with different expression statements