use crate::address_mode::AddressMode;
use crate::operation::Operation;

#[derive(Debug, Clone)]
pub struct OpInfo {
    /// What is the operation
    pub operation: Operation,
    /// How does this operation access memory
    pub mode: AddressMode,
    /// Bytes to represent the instruction and parameters
    pub length: u8,
    /// CPU Cycles to complete the instruction
    pub cycles: u8,
    /// Format string for disassembly
    pub format_prefix: &'static str,
    pub format_postfix: &'static str
}