4.4 Use of Machine Registers and Stack Frame Slots for x86_64 (Windows)
%rax | gpr(0) | val, arg0 |
%rcx | gpr(1) | cp |
%rdx | gpr(2) | s |
%rbx | gpr(3) | w |
%rsp | gpr(4) | SP |
%rbp | gpr(5) | a |
%rsi | gpr(6) | h |
%rdi | gpr(7) | e |
%r8 | gpr(8) | b |
%r9 | gpr(9) | tr |
%r10 | gpr(10) | arg1 |
%r11 | gpr(11) | arg2 |
%r12 | gpr(12) | x(0) |
%r13 | gpr(13) | x(1) |
%r14 | gpr(14) | x(2) |
%r15 | gpr(15) | x(3) |
0(%rsp) | | %rbx callee save |
8(%rsp) | | %rbp callee save |
16(%rsp) | | %rsi callee save |
24(%rsp) | | %rdi callee save |
32(%rsp) | | %r12 callee save |
40(%rsp) | | %r13 callee save |
48(%rsp) | | %r14 callee save |
56(%rsp) | | %r15 callee save |
64(%rsp) | | ac0 |
72(%rsp) | | ac1 |
80(%rsp) | | arg0 spill slot |
88(%rsp) | | pad |
96(%rsp) | | ret address |
Send feedback on this subject.