How to determine if the registers are loaded right to left or vice versa
问题 When reviewing gdb output and looking at the assembly calls, usually I can find a command using hard-coded values to determine whether the registers are being loaded right to left or vice versa. Usually something like the following: sub rsp, 16 or sub 16, rsp But other times, no values like above are visible. All I see are calls like the following : (gdb) disassemble Dump of assembler code for function main: 0x0000000100000f54 <main+4>: mov $rdi,%r15 0x0000000100000f59 <main+9>: mov $rsi,%r14