SetRegisters() public abstract method

public abstract SetRegisters ( Registers registers ) : void
registers Registers
return void
Example #1
0
        internal void WriteRegister(TargetMemoryAccess target, long value)
        {
            this.value = value;

            if (addr_on_stack.IsNull)
            {
                target.SetRegisters(registers);
            }
            else if (Size == target.TargetMemoryInfo.TargetIntegerSize)
            {
                target.WriteInteger(addr_on_stack, (int)value);
            }
            else
            {
                target.WriteLongInteger(addr_on_stack, value);
            }
        }
Example #2
0
        internal void WriteRegister(TargetMemoryAccess target, long value)
        {
            this.value = value;

            if (addr_on_stack.IsNull)
                target.SetRegisters (registers);
            else if (Size == target.TargetMemoryInfo.TargetIntegerSize)
                target.WriteInteger (addr_on_stack, (int) value);
            else
                target.WriteLongInteger (addr_on_stack, value);
        }