Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did not understood the stack part.

Lets say the slot value is 2, instruction for this would be to move the value located at %rsp-24, into the %rax register.

So your instruction becomes mov -24(%rsp), %rax

Correct?




That's right!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: