0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-09-22 10:43:39 -04:00

Even more "riprel" tests

Add a64 and a32 combinations.
This commit is contained in:
H. Peter Anvin
2007-10-31 10:59:26 -07:00
parent a30acb52cd
commit 1b9dd7d1e1
2 changed files with 3572 additions and 6 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -7,17 +7,19 @@ foreach $mode ('abs', 'rel') {
foreach $so ('', 'fs:', 'es:') {
foreach $rq ('', 'abs ', 'rel ') {
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,[$rq$sq$so$v]\n";
foreach $r ( 'al', 'bl', 'ax', 'bx', 'eax', 'ebx', 'rax', 'rbx') {
print "\tmov $r,[$ao$rq$sq$so$v]\n";
}
}
print "\n";
}
}
}
}
}
print "\nfoo:\n";