Enum moa_m68k::instructions::Instruction
source · pub enum Instruction {
Show 89 variants
ABCD(Target, Target),
ADD(Target, Target, Size),
ADDA(Target, Register, Size),
ADDX(Target, Target, Size),
AND(Target, Target, Size),
ANDtoCCR(u8),
ANDtoSR(u16),
ASL(Target, Target, Size),
ASR(Target, Target, Size),
Bcc(Condition, i32),
BRA(i32),
BSR(i32),
BCHG(Target, Target, Size),
BCLR(Target, Target, Size),
BSET(Target, Target, Size),
BTST(Target, Target, Size),
BFCHG(Target, RegOrImmediate, RegOrImmediate),
BFCLR(Target, RegOrImmediate, RegOrImmediate),
BFEXTS(Target, RegOrImmediate, RegOrImmediate, Register),
BFEXTU(Target, RegOrImmediate, RegOrImmediate, Register),
BFFFO(Target, RegOrImmediate, RegOrImmediate, Register),
BFINS(Register, Target, RegOrImmediate, RegOrImmediate),
BFSET(Target, RegOrImmediate, RegOrImmediate),
BFTST(Target, RegOrImmediate, RegOrImmediate),
BKPT(u8),
CHK(Target, Register, Size),
CLR(Target, Size),
CMP(Target, Target, Size),
CMPA(Target, Register, Size),
DBcc(Condition, Register, i16),
DIVW(Target, Register, Sign),
DIVL(Target, Option<Register>, Register, Sign),
EOR(Target, Target, Size),
EORtoCCR(u8),
EORtoSR(u16),
EXG(Target, Target),
EXT(Register, Size, Size),
ILLEGAL,
JMP(Target),
JSR(Target),
LEA(Target, Register),
LINK(Register, i32),
LSL(Target, Target, Size),
LSR(Target, Target, Size),
MOVE(Target, Target, Size),
MOVEA(Target, Register, Size),
MOVEfromSR(Target),
MOVEtoSR(Target),
MOVEfromCCR(Target),
MOVEtoCCR(Target),
MOVEC(Target, ControlRegister, Direction),
MOVEM(Target, Size, Direction, u16),
MOVEP(Register, Register, i16, Size, Direction),
MOVEQ(u8, Register),
MOVEUSP(Target, Direction),
MULW(Target, Register, Sign),
MULL(Target, Option<Register>, Register, Sign),
NBCD(Target),
NEG(Target, Size),
NEGX(Target, Size),
NOP,
NOT(Target, Size),
OR(Target, Target, Size),
ORtoCCR(u8),
ORtoSR(u16),
PEA(Target),
RESET,
ROL(Target, Target, Size),
ROR(Target, Target, Size),
ROXL(Target, Target, Size),
ROXR(Target, Target, Size),
RTE,
RTR,
RTS,
RTD(i16),
Scc(Condition, Target),
STOP(u16),
SBCD(Target, Target),
SUB(Target, Target, Size),
SUBA(Target, Register, Size),
SUBX(Target, Target, Size),
SWAP(Register),
TAS(Target),
TST(Target, Size),
TRAP(u8),
TRAPV,
UNLK(Register),
UnimplementedA(u16),
UnimplementedF(u16),
}
Variants§
ABCD(Target, Target)
ADD(Target, Target, Size)
ADDA(Target, Register, Size)
ADDX(Target, Target, Size)
AND(Target, Target, Size)
ANDtoCCR(u8)
ANDtoSR(u16)
ASL(Target, Target, Size)
ASR(Target, Target, Size)
Bcc(Condition, i32)
BRA(i32)
BSR(i32)
BCHG(Target, Target, Size)
BCLR(Target, Target, Size)
BSET(Target, Target, Size)
BTST(Target, Target, Size)
BFCHG(Target, RegOrImmediate, RegOrImmediate)
BFCLR(Target, RegOrImmediate, RegOrImmediate)
BFEXTS(Target, RegOrImmediate, RegOrImmediate, Register)
BFEXTU(Target, RegOrImmediate, RegOrImmediate, Register)
BFFFO(Target, RegOrImmediate, RegOrImmediate, Register)
BFINS(Register, Target, RegOrImmediate, RegOrImmediate)
BFSET(Target, RegOrImmediate, RegOrImmediate)
BFTST(Target, RegOrImmediate, RegOrImmediate)
BKPT(u8)
CHK(Target, Register, Size)
CLR(Target, Size)
CMP(Target, Target, Size)
CMPA(Target, Register, Size)
DBcc(Condition, Register, i16)
DIVW(Target, Register, Sign)
DIVL(Target, Option<Register>, Register, Sign)
EOR(Target, Target, Size)
EORtoCCR(u8)
EORtoSR(u16)
EXG(Target, Target)
EXT(Register, Size, Size)
ILLEGAL
JMP(Target)
JSR(Target)
LEA(Target, Register)
LINK(Register, i32)
LSL(Target, Target, Size)
LSR(Target, Target, Size)
MOVE(Target, Target, Size)
MOVEA(Target, Register, Size)
MOVEfromSR(Target)
MOVEtoSR(Target)
MOVEfromCCR(Target)
MOVEtoCCR(Target)
MOVEC(Target, ControlRegister, Direction)
MOVEM(Target, Size, Direction, u16)
MOVEP(Register, Register, i16, Size, Direction)
MOVEQ(u8, Register)
MOVEUSP(Target, Direction)
MULW(Target, Register, Sign)
MULL(Target, Option<Register>, Register, Sign)
NBCD(Target)
NEG(Target, Size)
NEGX(Target, Size)
NOP
NOT(Target, Size)
OR(Target, Target, Size)
ORtoCCR(u8)
ORtoSR(u16)
PEA(Target)
RESET
ROL(Target, Target, Size)
ROR(Target, Target, Size)
ROXL(Target, Target, Size)
ROXR(Target, Target, Size)
RTE
RTR
RTS
RTD(i16)
Scc(Condition, Target)
STOP(u16)
SBCD(Target, Target)
SUB(Target, Target, Size)
SUBA(Target, Register, Size)
SUBX(Target, Target, Size)
SWAP(Register)
TAS(Target)
TST(Target, Size)
TRAP(u8)
TRAPV
UNLK(Register)
UnimplementedA(u16)
UnimplementedF(u16)
Trait Implementations§
source§impl Clone for Instruction
impl Clone for Instruction
source§fn clone(&self) -> Instruction
fn clone(&self) -> Instruction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Instruction
impl Debug for Instruction
source§impl Display for Instruction
impl Display for Instruction
source§impl PartialEq for Instruction
impl PartialEq for Instruction
source§fn eq(&self, other: &Instruction) -> bool
fn eq(&self, other: &Instruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for Instruction
impl StructuralPartialEq for Instruction
Auto Trait Implementations§
impl Freeze for Instruction
impl RefUnwindSafe for Instruction
impl Send for Instruction
impl Sync for Instruction
impl Unpin for Instruction
impl UnwindSafe for Instruction
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
source§impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
impl<T, S> IntoAddress<T> for Swhere
T: FromAddress<S>,
source§fn into_address(self) -> T
fn into_address(self) -> T
Translate the given address into an address of type
T