Enum armv4t::Opcode [] [src]

pub enum Opcode {
    Arm(u32),
    Thumb(u16),
}

Raw opcodes

Provides a way of storing both ARM and THUMB opcodes (which have different sizes) in a single type.

Variants

A raw ARM opcode

Contains a 32-bit ARM opcode in machine encoding.

A raw THUMB opcode

Contains a 16-bit THUMB opcode in machine encoding.

Trait Implementations

impl Clone for Opcode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Opcode
[src]

impl Debug for Opcode
[src]

Formats the value using the given formatter.

impl PartialEq for Opcode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<u16> for Opcode
[src]

Performs the conversion.

impl From<u32> for Opcode
[src]

Performs the conversion.