Struct unicorn::CpuM68K [] [src]

pub struct CpuM68K { /* fields omitted */ }

A M68K emulator instance.

Methods

impl CpuM68K
[src]

Create a M68K emulator instance for the specified hardware mode.

Trait Implementations

impl Cpu for CpuM68K
[src]

Read an unsigned value from a register.

Read a signed 32-bit value from a register.

Write an unsigned value register.

Write a signed 32-bit value to a register.

Map a memory region in the emulator at the specified address. Read more

Unmap a memory region. Read more

Write a range of bytes to memory at the specified address.

Read a range of bytes from memory at the specified address.

Set the memory permissions for an existing memory region. Read more

Returns a vector with the memory regions that are mapped in the emulator.

Emulate machine code for a specified duration. Read more

Stop the emulation. Read more

Add a code hook.

Add an interrupt hook.

Add a memory hook.

Add an "in" instruction hook.

Add an "out" instruction hook.

Add a "syscall" or "sysenter" instruction hook.

Remove a hook. Read more

Return the last error code when an API function failed. Read more

Query the internal status of the engine. Read more