Changeset 64 in dev for BasicCompiler64/stack_frame.cpp
- Timestamp:
- Mar 8, 2007, 2:49:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/stack_frame.cpp
r20 r64 38 38 } 39 39 return -(answer_sp-0x08); 40 } 41 int CStackFrame::GetNowSp(){ 42 return now_sp; 43 } 44 void CStackFrame::mov_sp( int reg ){ 45 //mov reg,rsp 46 op_mov_RR( reg, REG_RSP ); 47 48 //add reg,now_sp 49 op_add_RV( reg, now_sp ); 50 51 //スケジュールをセット 52 obp-=sizeof(long); 53 add(); 54 obp+=sizeof(long); 40 55 } 41 56 int CStackFrame::push(int reg){
Note:
See TracChangeset
for help on using the changeset viewer.