Execution stuck at printf — assembly
问题 I am modifying some assembly code to do a printf. The first time the printf is called, its working perfectly. But on the second time, it is getting suck at the call to printf. I am using gdb to debug. The original partial code is movq 192(%rsp), %rax # 8-byte Reload movq (%rax), %rcx movq 200(%rsp), %rdx # 8-byte Reload movq (%rdx), %rsi movq %rcx, %rdi movq 24(%rsp), %r8 # 8-byte Reload addq %r8, %rdi movq $0, (%rsi) movq 216(%rsp), %r9 # 8-byte Reload movq (%r9), %r10 movq 208(%rsp), %r11 #