summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mpx-64.asm5
-rw-r--r--test/mpx.asm5
2 files changed, 8 insertions, 2 deletions
diff --git a/test/mpx-64.asm b/test/mpx-64.asm
index bc5e7d4..d177622 100644
--- a/test/mpx-64.asm
+++ b/test/mpx-64.asm
@@ -111,7 +111,10 @@ BITS 64
; bnd
bnd ret
bnd call foo
- bnd jmp foo
+ bnd jmp foo ; when it becomes a Jb form - short jmp (eb),
+ ; bnd prefix is silently dropped
+ bnd jmp near 0 ; near jmp (opcode e9)
+; bnd jmp short 0 ; explicit short jmp (opcode eb) : error
bnd jno foo
foo: bnd ret
diff --git a/test/mpx.asm b/test/mpx.asm
index 24ffcc8..1fd5b1d 100644
--- a/test/mpx.asm
+++ b/test/mpx.asm
@@ -79,7 +79,10 @@ BITS 32
; bnd
bnd ret
bnd call foo
- bnd jmp foo
+ bnd jmp foo ; when it becomes a Jb form - short jmp (eb),
+ ; bnd prefix is silently dropped
+ bnd jmp near 0 ; near jmp (opcode e9)
+; bnd jmp short 0 ; explicit short jmp (opcode eb) : error
bnd jno foo
foo: bnd ret