What are the corresponding registers in aarch64 compared with x86_64?

142 views Asked by At

I have a piece of code that performs unwind in x86_64, I am trying to step forward in c code like this:

frame->rsp = frame->rbp+2;
frame->rip = *(frame->rbp+1);
frame->rbp = *frame->rbp;

However, I don't know if this is correct in the situation of aarch64. I found aarch64 have x29(fp), x30(lr), and SP. Are they same to bp, ip and sp? Thanks a lot!!

0

There are 0 answers