aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-11-26 23:32:14 -0800
committeriximeow <me@iximeow.net>2020-01-12 16:10:13 -0800
commit16804307cfe6957c25c4c57dd7f0d5bd0b1f80fe (patch)
treea5683cdbbc839817c8de395d2e3f9bb8b92b9845 /src/display.rs
parent9b69b98ae2371a695c7adfd4a381579788821b45 (diff)
most non-avx (really, non-vex) instructions
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs
index e70734d..0694265 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -418,7 +418,8 @@ impl fmt::Display for Opcode {
&Opcode::SETGE => write!(f, "{}", "setge"),
&Opcode::SETLE => write!(f, "{}", "setle"),
&Opcode::SETG => write!(f, "{}", "setg"),
- &Opcode::Invalid => write!(f, "{}", "invalid")
+ &Opcode::Invalid => write!(f, "{}", "invalid"),
+ _ => { unimplemented!("some other instruction"); },
}
}
}
@@ -648,6 +649,7 @@ impl <T: std::fmt::Write> Colorize<T> for Opcode {
Opcode::UD2 |
Opcode::Invalid => { write!(out, "{}", colors.invalid_op(self)) }
+ _ => { unimplemented!("some other instruction"); },
}
}
}