aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/display.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-08-03 00:41:49 -0700
committeriximeow <me@iximeow.net>2020-08-09 01:38:57 -0700
commit70585db861e03ec76648070ed4e3fc88b9808c48 (patch)
treee4b4321239131435ccdd93a38d22bc0b0cb695c4 /src/long_mode/display.rs
parentcb26b3cba6a64989f17e6f1282dca1bf8e42cc08 (diff)
loop{,z,nz}/jecxz
Diffstat (limited to 'src/long_mode/display.rs')
-rw-r--r--src/long_mode/display.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/long_mode/display.rs b/src/long_mode/display.rs
index 260d5dc..2bd9ad8 100644
--- a/src/long_mode/display.rs
+++ b/src/long_mode/display.rs
@@ -1235,6 +1235,10 @@ const MNEMONICS: &[&'static str] = &[
"fxtract",
"fyl2x",
"fyl2xp1",
+ "loopnz",
+ "loopz",
+ "loop",
+ "jrcxz",
];
impl Opcode {
@@ -1628,6 +1632,10 @@ impl <T: fmt::Write, Color: fmt::Display, Y: YaxColors<Color>> Colorize<T, Color
Opcode::IRETQ |
Opcode::RETF |
Opcode::RETURN => { write!(out, "{}", colors.stop_op(self)) }
+ Opcode::LOOPNZ |
+ Opcode::LOOPZ |
+ Opcode::LOOP |
+ Opcode::JRCXZ |
Opcode::CALL |
Opcode::CALLF |
Opcode::JMP |