Stuck on this question. "Add an instruction at the end of the attached code to move the value in “rsp” to “rax”. What is the hex value of “rax” at the end of program execution? "
I tried adding “mov rax, rsp”, didn’t work.
tried “mov rax, [rsp]”, didn’t work.
also tried “lea rax, rsp”, still didn’t work. I can’t figure it out.