I'm working on a Chip-8 emulator. So, I'm doing fancy thing like this: ``` match command { 0x00E0 => Ok(Command::ClearScreen), 0x00EE => Ok(Command::Return), command if (command & 0xF000) == 0x1000 => Ok(Command::Jump(self.val_u12)), command if (command & 0xF000) == 0x2000 => Ok(Command::Call(self.val_u12)), command if (command & 0xF000) == 0x3000 => { Ok(Command::SkipIfRegVal(self.reg_x, self.val_u8)) } ``` Thought maybe there is a good way to do this.