aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/display.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-02-11 01:00:34 -0800
committeriximeow <me@iximeow.net>2020-02-11 01:00:34 -0800
commit0c1d6fc73c90f906aa2ed5dbdde1ade153e6a0ad (patch)
tree5c7c43e8ac59c526cd9c872038967fdec4bc5e19 /src/long_mode/display.rs
parentbd9ae00ba84275c9414298d016da21e8106cda36 (diff)
support `in` and `out` instructions
Diffstat (limited to 'src/long_mode/display.rs')
-rw-r--r--src/long_mode/display.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs
index 899391d..be7ab0d 100644
--- a/src/long_mode/display.rs
+++ b/src/long_mode/display.rs
@@ -421,7 +421,9 @@ impl fmt::Display for Opcode {
&Opcode::TEST => write!(f, "test"),
&Opcode::CMP => write!(f, "cmp"),
&Opcode::INS => write!(f, "ins"),
+ &Opcode::IN => write!(f, "in"),
&Opcode::OUTS => write!(f, "outs"),
+ &Opcode::OUT => write!(f, "out"),
&Opcode::IMUL => write!(f, "imul"),
&Opcode::JO => write!(f, "jo"),
&Opcode::JNO => write!(f, "jno"),
@@ -1629,7 +1631,9 @@ impl <T: fmt::Write, Color: fmt::Display, Y: YaxColors<Color>> Colorize<T, Color
Opcode::SAHF |
Opcode::MOVS |
Opcode::INS |
+ Opcode::IN |
Opcode::OUTS |
+ Opcode::OUT |
Opcode::MOVSX_b |
Opcode::MOVSX_w |
Opcode::MOVZX_b |