summaryrefslogtreecommitdiff
path: root/test/mpx-64.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/mpx-64.asm')
-rw-r--r--test/mpx-64.asm5
1 files changed, 4 insertions, 1 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