pub struct AddrZ {
pub addr: XReg,
pub offset: i32,
}
Expand description
Immediate used for the “z” addresing mode.
This addressing mode represents a host address stored in self.addr
which
is byte-offset by self.offset
.
If the addr
specified is NULL then operating on this value will generate a
trap.
Fields§
§addr: XReg
The base address of memory, or NULL.
offset: i32
A byte offset from addr
.
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for AddrZ
impl<'arbitrary> Arbitrary<'arbitrary> for AddrZ
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§impl Ord for AddrZ
impl Ord for AddrZ
Source§impl PartialOrd for AddrZ
impl PartialOrd for AddrZ
impl Copy for AddrZ
impl Eq for AddrZ
impl StructuralPartialEq for AddrZ
Auto Trait Implementations§
impl Freeze for AddrZ
impl RefUnwindSafe for AddrZ
impl Send for AddrZ
impl Sync for AddrZ
impl Unpin for AddrZ
impl UnwindSafe for AddrZ
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more