SetRegisters() public abstract method

public abstract SetRegisters ( Registers registers ) : void
registers Registers
return void
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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);
        }