pub enum Opcode {
Show 53 variants
Nop,
Stop,
Ld,
LdSPHL,
LdHLSPSigned8,
LdBB,
Push,
Pop,
Inc,
Inc16,
Dec,
Dec16,
Add,
Add16,
AddSPSigned8,
Adc,
Cp,
Sub,
Sbc,
And,
Xor,
Or,
Jp(Condition),
JpHL,
Jr(Condition),
Call(Condition),
Ret(Condition),
Reti,
Rst(u8),
Di,
Ei,
Ccf,
Scf,
Daa,
Cpl,
Rlca,
Rla,
Rrca,
Rra,
Prefix,
Rlc,
Rrc,
Rl,
Rr,
Sla,
Sra,
Swap,
Srl,
Bit(u8),
Res(u8),
Set(u8),
Illegal,
Halt,
}Variants§
Nop
Stop
Ld
LdSPHL
LdHLSPSigned8
LdBB
Push
Pop
Inc
Inc16
Dec
Dec16
Add
Add16
AddSPSigned8
Adc
Cp
Sub
Sbc
And
Xor
Or
Jp(Condition)
JpHL
Jr(Condition)
Call(Condition)
Ret(Condition)
Reti
Rst(u8)
Di
Ei
Ccf
Scf
Daa
Cpl
Rlca
Rla
Rrca
Rra
Prefix
Rlc
Rrc
Rl
Rr
Sla
Sra
Swap
Srl
Bit(u8)
Res(u8)
Set(u8)
Illegal
Halt
Trait Implementations§
impl Copy for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)