3 ms·
Sometimes the instruction ends in a q for 64 bits.
by tedunangst 10y ago
Sometimes the instruction ends in a q for 64 bits.
- mox1 10y agoIt is a lot more than that. Calling conventions, register names and usage, etc. etc. I have a "cheatsheet" sitting on my desk that I wrote up last time I need to do some x86-64 reversing. Do no sit down with a x86-64 binary and use this manual as a guide, you will not get very far.
- trishume 10y agoWould you be willing to post this cheat sheet, or link to it if you got it from the internet?
- pcwalton 10y agoThe extra registers affect the way programs are written. You get a more RISC-like feel: this shows up most notably in the calling conventions, which pass all arguments in registers most of the time. You see more RISC-like three register arithmetic because the compiler has more opportunities to use LEA. Etc.
- astocko 10y agoPiggy backing on this comment. Agner Fog has some nice tables at http://www.agner.org/optimize/calling_conventions.pdf http://www.agner.org/optimize/calling_conventions.pdf describing the register usage and calling coventions. Chapter 6 & 7