WriteInteger() public abstract method

public abstract WriteInteger ( TargetAddress address, int value ) : void
address TargetAddress
value int
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);
        }