title: What is the fastest way to push all 64-bit registers onto the stack?
body: <p>I am beginning to write some assembly. What is the fastest way to push and pop all 64-bit registers to the stack in x86-64? I know pusha will save the state of all 32-bit general purpose registers.</p>
  
  <p>I want to save the state(using cdecl convention) of all the registers I will use(I will use all 64-bit registers).</p>
  
  <p>Thanks.</p>