mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
test/pcrel.asm: make test output a bit easier to understand
Make the output of the test a bit easier to pick apart. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
164d24677a
commit
ed71316e2b
@ -19,24 +19,26 @@ foo: ; Backwards reference
|
||||
bits 64
|
||||
default rel
|
||||
|
||||
times 16 nop
|
||||
|
||||
mov eax,[foo]
|
||||
mov eax,[foo - $]
|
||||
mov eax,[abs foo - $]
|
||||
mov ebx,[ebx + foo - $]
|
||||
mov ebx,[rbx + foo - $]
|
||||
mov ecx,foo - $
|
||||
mov edx,foo - bar
|
||||
|
||||
mov eax,[bar]
|
||||
mov eax,[bar - $]
|
||||
mov eax,[abs bar - $]
|
||||
mov ebx,[ebx + bar - $]
|
||||
mov ebx,[rbx + bar - $]
|
||||
mov ecx,bar - $
|
||||
mov edx,bar - foo
|
||||
|
||||
mov eax,[baz]
|
||||
mov eax,[baz - $]
|
||||
mov eax,[abs baz - $]
|
||||
mov ebx,[ebx + baz - $]
|
||||
mov ebx,[rbx + baz - $]
|
||||
mov esi,[baz - bar]
|
||||
mov esi,[abs baz - bar]
|
||||
mov ecx,baz - $
|
||||
|
Loading…
Reference in New Issue
Block a user