internal void RegWrite(int regId, ref double value) => Bindings.RegWrite(Handle, regId, ref value);
internal void RegWrite(int regId, ref NeonRegister value) => Bindings.RegWrite(Handle, regId, ref value);
internal void RegWrite(int regId, ref float value) => Bindings.RegWrite(Handle, regId, ref value);
internal void RegRead(int regId, ref double value) => Bindings.RegRead(Handle, regId, ref value);
internal void RegRead(int regId, ref float value) => Bindings.RegRead(Handle, regId, ref value);
/// <summary> /// Stops the emulation. /// </summary> /// <exception cref="UnicornException">Unicorn did not return <see cref="UnicornError.Ok"/>.</exception> /// <exception cref="ObjectDisposedException"><see cref="Emulator"/> instance is disposed.</exception> public void Stop() { ThrowIfDisposed(); Bindings.EmuStop(Handle); }
/// <summary> /// Starts emulation at the specified begin address and end address. /// </summary> /// <param name="begin">Address at which to begin emulation.</param> /// <param name="until">Address at which to end emulation.</param> /// <exception cref="UnicornException">Unicorn did not return <see cref="UnicornError.Ok"/>.</exception> /// <exception cref="ObjectDisposedException"><see cref="Emulator"/> instance is disposed.</exception> public void Start(ulong begin, ulong until) { ThrowIfDisposed(); Bindings.EmuStart(Handle, begin, until, 0, UIntPtr.Zero); }