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); } }
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); }