projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c3277b
)
BR 2003451: add test case
author
H. Peter Anvin
<hpa@zytor.com>
Sun, 20 Jul 2008 04:40:07 +0000
(21:40 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Sun, 20 Jul 2008 04:40:07 +0000
(21:40 -0700)
Add test case for BR
2003451
: forwardness leakage between operands.
test/br2003451.asm
[new file with mode: 0644]
patch
|
blob
diff --git a/test/br2003451.asm
b/test/br2003451.asm
new file mode 100644
(file)
index 0000000..
fb309a9
--- /dev/null
+++ b/
test/br2003451.asm
@@ -0,0
+1,15
@@
+ cpu 8086
+ org 0
+
+ ; MOV r/m16,imm16
+ ; (imm16 given as number)
+ mov word [bx], 10h
+
+ ; MOV r/m16,imm16
+ ; (imm16 given as label)
+ mov word [bx], label
+
+ align 10h
+
+ ; This label is at address 10h
+label: