pub enum Reg16 {
AF,
BC,
DE,
HL,
Sp,
Pc,
}Expand description
Identifies a 16 bit register in the microcode.
Variants§
Trait Implementations§
Source§impl Literal for Reg16
impl Literal for Reg16
Source§fn constant_value(&self, crates: CrateFetcher) -> TokenStream
fn constant_value(&self, crates: CrateFetcher) -> TokenStream
Generate output representing this literal as a stream of tokens. Takes a function
that can be used to look up crate names.
Source§impl MicrocodeReadable for Reg16
impl MicrocodeReadable for Reg16
fn to_read(self) -> InstrBuilder
Source§impl MicrocodeWritable for Reg16
impl MicrocodeWritable for Reg16
fn to_write(self) -> InstrBuilder
impl Copy for Reg16
impl Eq for Reg16
impl StructuralPartialEq for Reg16
Auto Trait Implementations§
impl Freeze for Reg16
impl RefUnwindSafe for Reg16
impl Send for Reg16
impl Sync for Reg16
impl Unpin for Reg16
impl UnwindSafe for Reg16
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