6 constexpr uint64_t fill
= 0x0F0F0F0F0F0F0F0F;
8 uint64_t rax
, rbx
, rcx
, rdx
, rsp
, rbp
, rsi
, rdi
;
26 // swap saved & current rsp & rbp
29 : "=a"(rax
), "=b"(rbx
), "=c"(rcx
), "=d"(rdx
), "=r"(rsp
), "=r"(rbp
),
35 printf("rax = 0x%016" PRIx64
"\n", rax
);
36 printf("rbx = 0x%016" PRIx64
"\n", rbx
);
37 printf("rcx = 0x%016" PRIx64
"\n", rcx
);
38 printf("rdx = 0x%016" PRIx64
"\n", rdx
);
39 printf("rsp = 0x%016" PRIx64
"\n", rsp
);
40 printf("rbp = 0x%016" PRIx64
"\n", rbp
);
41 printf("rsi = 0x%016" PRIx64
"\n", rsi
);
42 printf("rdi = 0x%016" PRIx64
"\n", rdi
);