code:regloc - ikarishinjieva/unixV6-code-analyze-chs GitHub Wiki

Source

  • 帮助 定位 保存在堆栈中的寄存器值
  • R0,R1...常量定义参看reg.h
  • 载点 在 systm.h 0237

2672

2673 /*

2674  * Offsets of the user’s registers relative to

2675  * the saved r0. See reg.h

2676  */

2677 char regloc[9]

2678 {

2679     R0, R1, R2, R3, R4, R5, R6, R7, RPS

2680 };

2681 /* ------------------------- */

Ref

Caller

⚠️ **GitHub.com Fallback** ⚠️