diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-31 10:59:26 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-31 10:59:26 -0700 |
commit | 1b9dd7d1e1d9b202a00d752cafd9970b56cbf3b9 (patch) | |
tree | 29cdf0087857a93f5ee810429ef13b1102f9c9ac /test/riprel.pl | |
parent | a30acb52cd1c2bdd366144fa389c78fb4dabf948 (diff) | |
download | nasm-1b9dd7d1e1d9b202a00d752cafd9970b56cbf3b9.tar.gz nasm-1b9dd7d1e1d9b202a00d752cafd9970b56cbf3b9.tar.bz2 nasm-1b9dd7d1e1d9b202a00d752cafd9970b56cbf3b9.zip |
Even more "riprel" tests
Add a64 and a32 combinations.
Diffstat (limited to 'test/riprel.pl')
-rw-r--r-- | test/riprel.pl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/riprel.pl b/test/riprel.pl index 3859f1d..83dabe8 100644 --- a/test/riprel.pl +++ b/test/riprel.pl @@ -7,14 +7,16 @@ foreach $mode ('abs', 'rel') { foreach $so ('', 'fs:', 'es:') { foreach $rq ('', 'abs ', 'rel ') { - foreach $sq ('', 'dword ', 'qword ') { - foreach $v ('foo', '0xaaaaaaaaaaaaaaaa', '0xbbbbbbbb', - '0xffffffffcccccccc') { - foreach $r ('al', 'bl', 'ax', 'bx', 'eax', 'ebx', 'rax', 'rbx') { - print "\tmov $r,[$rq$sq$so$v]\n"; + foreach $ao ('', 'a64 ', 'a32 ') { + foreach $sq ('', 'dword ', 'qword ') { + foreach $v ('foo', '0xaaaaaaaaaaaaaaaa', '0xbbbbbbbb', + '0xffffffffcccccccc') { + foreach $r ( 'al', 'bl', 'ax', 'bx', 'eax', 'ebx', 'rax', 'rbx') { + print "\tmov $r,[$ao$rq$sq$so$v]\n"; + } } + print "\n"; } - print "\n"; } } } |