place where p was used was as an argument to printf and some_function and therefore it just moved it to rsi optimized away rcx register usage completely.

But then, if I assume that p was in rcx all along and try to use it (mov %rdx, %rcx), it gets garbage (4/n)

Comments