aboutsummaryrefslogtreecommitdiff
path: root/test/real_mode/mod.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2026-03-27 07:05:18 +0000
committeriximeow <me@iximeow.net>2026-05-25 00:59:27 +0000
commit6c32405ca9930f393d8ca45d22df1b5a1c7c8653 (patch)
tree3986d0c5a4544c1bebe35b8095cf3d04920e3f20 /test/real_mode/mod.rs
parent35358d573bccd0776e55187564ccd6c72c9f9c34 (diff)
more accurate mov seg-to-gpr operand size
Diffstat (limited to 'test/real_mode/mod.rs')
-rw-r--r--test/real_mode/mod.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/real_mode/mod.rs b/test/real_mode/mod.rs
index 844a95e..5fb109f 100644
--- a/test/real_mode/mod.rs
+++ b/test/real_mode/mod.rs
@@ -16981,8 +16981,14 @@ fn test_real_mode() {
test_display(&[0x8b, 0x4c, 0x10], "mov cx, word [si + 0x10]");
test_display(&[0x8d, 0x53, 0x08], "lea dx, word [bp + di * 1 + 0x8]");
test_display(&[0x8e, 0x00], "mov es, word [bx + si * 1]");
+ test_display(&[0x8e, 0xc0], "mov es, ax");
+ test_display(&[0x8c, 0xc0], "mov ax, es");
test_display(&[0x8e, 0x10], "mov ss, word [bx + si * 1]");
+ test_display(&[0x8e, 0xd0], "mov ss, ax");
+ test_display(&[0x8c, 0xd0], "mov ax, ss");
test_display(&[0x8e, 0x18], "mov ds, word [bx + si * 1]");
+ test_display(&[0x8e, 0xd8], "mov ds, ax");
+ test_display(&[0x8c, 0xd8], "mov ax, ds");
test_display(&[0x8e, 0x20], "mov fs, word [bx + si * 1]");
test_display(&[0x8e, 0x28], "mov gs, word [bx + si * 1]");
test_display(&[0x8f, 0x00], "pop word [bx + si * 1]");