diff options
| author | krolxon <krolyxon@tutanota.com> | 2026-01-13 19:21:22 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2026-01-13 19:21:22 +0530 |
| commit | 425184747c9c61311dfbcdaa125ba2e49f713414 (patch) | |
| tree | 443668354b73b4fe20105735f7f27b42bc6ae87e /src/instructions.rs | |
| parent | 5d34df5e38802da8da8d6ce13963fed489893c7a (diff) | |
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", |
