Enum mlem::Register [] [src]

pub enum Register {
    R0,
    R1,
    R2,
    R3,
    R4,
    R5,
    R6,
    R7,
    SP,
    BP,
}

Specifies a register in the machine.

This doesn't include the instruction pointer. You have to use use jump instructions to mess with that.

Variants

General purpouse register 0

General purpouse register 1

General purpouse register 2

General purpouse register 3

General purpouse register 4

General purpouse register 5

General purpouse register 6

General purpouse register 7

Stack position pointer

Stack base pointer

Trait Implementations

impl PartialEq for Register
[src]

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

This method tests for !=.

impl Debug for Register
[src]

Formats the value using the given formatter.

impl Copy for Register
[src]

impl Clone for Register
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more