public virtual Expression CreateStackAccess(IStorageBinder binder, int offset, DataType dataType) { var sp = binder.EnsureRegister(Registers.sp); var ss = binder.EnsureRegister(Registers.ss); return(SegmentedAccess.Create(ss, sp, offset, dataType)); }
public virtual Expression CreateStackAccess(Frame frame, int offset, DataType dataType) { var sp = frame.EnsureRegister(Registers.sp); var ss = frame.EnsureRegister(Registers.ss); return(SegmentedAccess.Create(ss, sp, offset, dataType)); }