test: nasm-t -- Add jmp64 test

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-04 20:05:33 +03:00
parent de020d0a3c
commit 4f5b5a2c2e
3 changed files with 29 additions and 0 deletions

17
travis/test/jmp64.asm Normal file
View 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
View 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
View File

@ -0,0 +1,11 @@
[
{
"description": "Test jmp in 64 bit mode",
"id": "jmp64",
"format": "bin",
"source": "jmp64.asm",
"target": [
{ "output": "jmp64.bin" }
]
}
]