Beispiel #1
0
        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));
        }
Beispiel #2
0
        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));
        }