Non-Volatile Register 非易失性寄存器 调用约定对应寄存器使用

非易失性寄存器(Non-volatile register)是它的内容必须通过子程序调用被保存的一个寄存器。如果一个程序改变了一个非易失性寄存器的值,它必须保存在改变这个寄存器之前堆栈中保存旧的值和在返回之前恢复那个值。

 
Nonvolatile Register 
 
Nonvolatile register is a register whose contents must be preserved across subroutine calls. If a routine changes the value of a nonvolatile register, it must save the old value on the stack before changing the register and restore that value before returning.

 

 

https://www.techopedia.com/definition/8591/non-volatile-register

https://msdn.microsoft.com/en-us/library/9z1stfyw.aspx

https://www.cnblogs.com/shangdawei/p/3323252.html

wiki需翻墙

https://zh.wikipedia.org/wiki/X86%E8%B0%83%E7%94%A8%E7%BA%A6%E5%AE%9A

原文地址:https://www.cnblogs.com/hjbf/p/10414413.html