diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 12:05:53 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 12:13:50 -0800 |
commit | c3bfc7f6437843c041e085ba6238e6b125f16ca0 (patch) | |
tree | efa5dd948e25b91e330b7e49a4d6261324c97d5e /test | |
parent | b496c68f912fd25caadf39748a187c15654a27f3 (diff) | |
download | nasm-c3bfc7f6437843c041e085ba6238e6b125f16ca0.tar.gz nasm-c3bfc7f6437843c041e085ba6238e6b125f16ca0.tar.bz2 nasm-c3bfc7f6437843c041e085ba6238e6b125f16ca0.zip |
Clean up JMP/CALL patterns, especially for 64 bits
Clean up JMP/CALL patterns so they don't disassemble quite so uglily.
Fix a CALL pattern which would have incorrectly generated a (harmless)
REX.W prefix.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/jmp64.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/jmp64.asm b/test/jmp64.asm index f007b9e..616b0e6 100644 --- a/test/jmp64.asm +++ b/test/jmp64.asm @@ -4,12 +4,16 @@ jmp rcx jmp [rax] jmp qword [rax] + jmp near [rax] + jmp near qword [rax] jmp far [rax] jmp far dword [rax] jmp far qword [rax] call rcx call [rax] call qword [rax] + call near [rax] + call near qword [rax] call far [rax] call far dword [rax] call far qword [rax] |