WriteLongInteger() public method

public WriteLongInteger ( TargetAddress address, long value ) : void
address TargetAddress
value long
return void
Esempio n. 1
0
        public void WriteRegister(Thread thread, long value)
        {
            this.value = value;

            if (addr_on_stack.IsNull)
            {
                thread.SetRegisters(registers);
            }
            else if (Size == thread.TargetMemoryInfo.TargetIntegerSize)
            {
                thread.WriteInteger(addr_on_stack, (int)value);
            }
            else
            {
                thread.WriteLongInteger(addr_on_stack, value);
            }
        }
Esempio n. 2
0
        public void WriteRegister(Thread thread, long value)
        {
            this.value = value;

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