From 83b12fc09a69cc5324f6f002b8c52382d4b236d1 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 16 Dec 2023 15:54:13 -0800 Subject: fix incorrect register class names in long_mode also adjust changelog for a 1.2.1 version again, no new interfaces to go with these bugfixes. --- src/long_mode/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 4eb0a36..439417a 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -789,16 +789,16 @@ pub struct RegisterClass { } const REGISTER_CLASS_NAMES: &[&'static str] = &[ - "qword", - "BUG. PLEASE REPORT.", - "dword", "BUG. PLEASE REPORT.", + "byte", "word", "BUG. PLEASE REPORT.", - "byte", + "dword", "BUG. PLEASE REPORT.", "rex-byte", "BUG. PLEASE REPORT.", + "qword", + "BUG. PLEASE REPORT.", "cr", "BUG. PLEASE REPORT.", "dr", -- cgit v1.1