box swap
This commit is contained in:
@@ -3,8 +3,12 @@ use crate::operation::Operation;
|
||||
|
||||
#[derive(Debug, Copy, 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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user