aboutsummaryrefslogtreecommitdiff
path: root/test/real_mode
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2022-04-30 11:11:56 -0700
committeriximeow <me@iximeow.net>2022-04-30 11:11:56 -0700
commit073d3b367ee4164fc5c89c4a7869770f0261a00c (patch)
tree9415e3feae5bce70001fcef1eed530c53322fcbf /test/real_mode
parent2097524c851b15e89091fd3775817a06f0eeae4f (diff)
support 0x9a callf in 16/32-bit modes
Diffstat (limited to 'test/real_mode')
-rw-r--r--test/real_mode/mod.rs2
1 files changed, 2 insertions, 0 deletions
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]");