This is a draft cheat sheet. It is a work in progress and is not finished yet.
Registers
%rax(Return value) |
%eax |
%ax |
%al |
%rsp(Stackpointer) |
%esp |
%sp |
%spl |
%rdi(1st argument) |
%edi |
%di |
%dil |
%rsi(2nd arg) |
%esi |
%si |
%sil |
%rdx(3rd arg) |
%edx |
%dx |
%dl |
%rcx(4th arg) |
%ecx |
%cx |
%cl |
%r8(5th arg) |
%r8d |
%r8w |
%r8b |
%r9(6th arg) |
%r9d |
%r9w |
%r9b |
%r10(Caller saved) |
%r10d |
%r10w |
%r10b |
%r11(Caller saved) |
%r11d |
%r11w |
%r11b |
%rbx(Callee saved) |
%ebx |
%bx |
%bl |
%rbp(Callee saved) |
%ebp |
%bp |
%bpl |
%r12(Callee saved) |
%r12d |
%r12w |
%r12b |
%r13(Callee saved) |
%r13d |
%r13w |
%r13b |
%r14(Callee saved) |
%r14d |
%r14w |
%r14b |
%r15(Callee saved) |
%r15d |
%r15w |
%r15b |
|
|
HDD Geometry
Magnetic Disc Drive*
Seek time: Time to position arm correctly
Rotational delay: Time to rotate disk to correct location
Transfer time: Time to read wanted data
Disk capacity
Bytes per sector Sectors per track Tracks per surface Surfaces (2) total platters on disk
Calc
Average Rotational delay(ms): 30000/RPM
Average Seek Time: usually 3-9ms
Average Transfer Time: 60/RMP 1/Sectors 1000
|