lotabout/write-a-C-interpreter

multiple assignment of ax

dezashibi opened this issue · 2 comments

Hello

I noticed this question seemed to be asked before in Chinese but unfortunately I couldn't get precise translation of the answers, why we need to do ax = *(char *)*sp++ = ax; while if we remove ax = from the beginning the answer should not change, please correct me if I'm wrong, why we need this? thanks

No big difference, you could remove the first assignment.

but why do this?