diff options
Diffstat (limited to 'test/riprel.pl')
-rw-r--r-- | test/riprel.pl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/test/riprel.pl b/test/riprel.pl index fa4405e..0f016df 100644 --- a/test/riprel.pl +++ b/test/riprel.pl @@ -5,15 +5,17 @@ print "\tbits 64\n"; foreach $mode ('abs', 'rel') { print "\n\tdefault $mode\n\n"; - 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$v]\n"; + 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"; + } } + print "\n"; } - print "\n"; } } } |