In at&t syntax, the instruction This is x64 assembly generated from gcc 4.8 compiling c++ code. Mov (%rax), %eax # at&t syntax or, equivalently in intel syntax
raxkingisdead (u/raxkingisdead) - Reddit
Mov eax, dword ptr [rax]
I just want to read values that are currently in those registers
Rax, rbx, rcx, rdx, rsp Rbp, rsi, rdi and print them out, thats it. Essentially all x86 chips released in the last decade from amd and intel support this isa Thus (%rax) means to get the value of the pointer currently stored in %rax
What does the star decoration do on that Does that further dereference that value (thus (%rax) is itself a pointer) I'm having trouble googling *( assembly syntax