Enum mlem_asm::Address [] [src]

pub enum Address {

Represents a place a value can come from: a register, a memory address, a pointer to memory stored in a register, or a literal value.


A literal register, like R1.

A literal memory address, like 0x10.

A memory address stored in a register. This serves as one level of indirection; for multiple indirection, multiple instructions must be used.

A literal value. Writing to a literal value is a fault.

Trait Implementations

impl Copy for Address

impl Deserialize for Address

impl Serialize for Address

impl PartialEq<Address> for Address

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

This method tests for !=.

impl Debug for Address

Formats the value using the given formatter.

impl Clone for Address