aboutsummaryrefslogtreecommitdiff
path: root/src/protected_mode/display.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2020-08-09 19:25:07 -0700
committeriximeow <me@iximeow.net>2020-08-09 19:25:07 -0700
commit57ff56d8b5c3a3fa4f1d7f4881afbe2ce8e47cfd (patch)
tree81ed40ad1545fb88933245a7b2f78f53242c4ac8 /src/protected_mode/display.rs
parentc06dd09585d192199f8f3068c69aecfae5d407f6 (diff)
support salc, get segment register numbers right
Diffstat (limited to 'src/protected_mode/display.rs')
-rw-r--r--src/protected_mode/display.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/protected_mode/display.rs b/src/protected_mode/display.rs
index 171118a..c92737b 100644
--- a/src/protected_mode/display.rs
+++ b/src/protected_mode/display.rs
@@ -123,7 +123,7 @@ const REG_NAMES: &[&'static str] = &[
"al", "cl", "dl", "bl", "ah", "ch", "dh", "bh",
"cr0", "cr1", "cr2", "cr3", "cr4", "cr5", "cr6", "cr7",
"dr0", "dr1", "dr2", "dr3", "dr4", "dr5", "dr6", "dr7",
- "cs", "ds", "es", "fs", "gs", "ss", "", "",
+ "es", "cs", "ss", "ds", "fs", "gs", "", "",
"xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7", "xmm8", "xmm9", "xmm10", "xmm11", "xmm12", "xmm13", "xmm14", "xmm15",
"xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7", "xmm8", "xmm9", "xmm10", "xmm11", "xmm12", "xmm13", "xmm14", "xmm15",
"ymm0", "ymm1", "ymm2", "ymm3", "ymm4", "ymm5", "ymm6", "ymm7", "ymm8", "ymm9", "ymm10", "ymm11", "ymm12", "ymm13", "ymm14", "ymm15",
@@ -1113,6 +1113,7 @@ const MNEMONICS: &[&'static str] = &[
"wrfsbase",
"wrgsbase",
"crc32",
+ "salc",
"xlat",
"f2xm1",
@@ -1968,6 +1969,7 @@ impl <T: fmt::Write, Color: fmt::Display, Y: YaxColors<Color>> Colorize<T, Color
Opcode::FCMOVNE |
Opcode::FCMOVNU |
Opcode::FCMOVU |
+ Opcode::SALC |
Opcode::SETO |
Opcode::SETNO |
Opcode::SETB |