diff options
Diffstat (limited to 'src/instructions.rs')
| -rw-r--r-- | src/instructions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instructions.rs b/src/instructions.rs index a0d086f..5171c82 100644 --- a/src/instructions.rs +++ b/src/instructions.rs @@ -21,7 +21,7 @@ pub enum Instruction { } impl Instruction { - pub fn opcode_name(op: u8) -> &'static str{ + pub fn opcode_name(op: u8) -> &'static str { match op { 0x01 | 0x08 => "MOV", 0x02 | 0x0A => "ADD", |
