aboutsummaryrefslogtreecommitdiff
path: root/test/real_mode
diff options
context:
space:
mode:
Diffstat (limited to 'test/real_mode')
-rw-r--r--test/real_mode/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/real_mode/mod.rs b/test/real_mode/mod.rs
index 8543fae..dfbe4e8 100644
--- a/test/real_mode/mod.rs
+++ b/test/real_mode/mod.rs
@@ -16927,6 +16927,7 @@ fn test_real_mode() {
test_display(&[0x68, 0x7f, 0x63], "push 0x637f");
test_display(&[0x6b, 0x43, 0x6f, 0x6d], "imul ax, word [bp + di + 0x6f], 0x6d");
test_display(&[0x72, 0x5a], "jb $+0x5a");
+ test_display(&[0x72, 0xf0], "jb $-0x10");
test_display(&[0x73, 0x31], "jnb $+0x31");
test_display(&[0x74, 0x47], "jz $+0x47");
test_display(&[0x81, 0xec, 0x10, 0x03], "sub sp, 0x310");
@@ -17758,7 +17759,7 @@ fn test_real_mode() {
test_display(&[0xe1, 0x12], "loopz $+0x12");
test_display(&[0xe2, 0x12], "loop $+0x12");
test_display(&[0xe3, 0x12], "jcxz $+0x12");
- test_display(&[0xe3, 0xf0], "jcxz $+-0x10");
+ test_display(&[0xe3, 0xf0], "jcxz $-0x10");
test_display(&[0xe4, 0x99], "in al, 0x99");
test_display(&[0xe5, 0x99], "in ax, 0x99");
test_display(&[0xe6, 0x99], "out 0x99, al");