mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
test: nasm-t -- Add jmp64 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
de020d0a3c
commit
4f5b5a2c2e
3 changed files with 29 additions and 0 deletions
17
travis/test/jmp64.asm
Normal file
17
travis/test/jmp64.asm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
bits 64
|
||||
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]
|
||||
1
travis/test/jmp64.bin.t
Normal file
1
travis/test/jmp64.bin.t
Normal file
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> H<EFBFBD>(<EFBFBD>(H<EFBFBD>(<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>H<EFBFBD><EFBFBD>H<EFBFBD>
|
||||
11
travis/test/jmp64.json
Normal file
11
travis/test/jmp64.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
{
|
||||
"description": "Test jmp in 64 bit mode",
|
||||
"id": "jmp64",
|
||||
"format": "bin",
|
||||
"source": "jmp64.asm",
|
||||
"target": [
|
||||
{ "output": "jmp64.bin" }
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue