pub struct Immediate16;Expand description
16-bit immediate value. Expands to code to fetch two 8-bit immediate values sequentially.
Endianness is correct because we always push the lower byte of a LE word to the microcode stack first followed by the higher byte, which always keeps the word in gameboy LE byte order regardless of the running system endianness.
Trait Implementations§
Source§impl MicrocodeReadable for Immediate16
impl MicrocodeReadable for Immediate16
fn to_read(self) -> InstrBuilder
Auto Trait Implementations§
impl Freeze for Immediate16
impl RefUnwindSafe for Immediate16
impl Send for Immediate16
impl Sync for Immediate16
impl Unpin for Immediate16
impl UnwindSafe for Immediate16
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