diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/protected_mode/mod.rs | 2 | ||||
-rw-r--r-- | test/real_mode/mod.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/protected_mode/mod.rs b/test/protected_mode/mod.rs index 9cda6be..93f4b8f 100644 --- a/test/protected_mode/mod.rs +++ b/test/protected_mode/mod.rs @@ -2393,6 +2393,8 @@ fn prefixed_f30f() { #[test] fn only_32bit() { + test_display(&[0x9a, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66], "callf 0x6655:0x44332211"); + test_display(&[0x66, 0x9a, 0x11, 0x22, 0x33, 0x44], "callf 0x4433:0x2211"); test_display(&[0x67, 0xac], "lods al, byte ds:[si]"); test_display(&[0x67, 0xae], "scas byte es:[di], al"); test_display(&[0xac], "lods al, byte ds:[esi]"); diff --git a/test/real_mode/mod.rs b/test/real_mode/mod.rs index dcd124c..27ef2f6 100644 --- a/test/real_mode/mod.rs +++ b/test/real_mode/mod.rs @@ -78,6 +78,8 @@ fn test_display_under(decoder: &InstDecoder, data: &[u8], expected: &'static str #[test] fn only_16bit() { + test_display(&[0x66, 0x9a, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66], "callf 0x6655:0x44332211"); + test_display(&[0x9a, 0x11, 0x22, 0x33, 0x44], "callf 0x4433:0x2211"); test_display(&[0xac], "lods al, byte ds:[si]"); test_display(&[0xae], "scas byte es:[di], al"); test_display(&[0x67, 0xac], "lods al, byte ds:[esi]"); |