test: nasm-t -- Add far64

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-04 23:22:37 +03:00
parent b8556e7e20
commit 84d2638126
3 changed files with 21 additions and 0 deletions

9
travis/test/far64.asm Normal file
View file

@ -0,0 +1,9 @@
; BR 2039212
bits 64
call qword far [rax]
jmp qword far [rax]
call dword far [rax]
jmp dword far [rax]
call far [rax]
jmp far [rax]

1
travis/test/far64.bin.t Normal file
View file

@ -0,0 +1 @@
H<EFBFBD>H<EFBFBD>(<EFBFBD><EFBFBD>(H<EFBFBD>H<EFBFBD>(

11
travis/test/far64.json Normal file
View file

@ -0,0 +1,11 @@
[
{
"description": "Test 64 bit far call",
"id": "far64",
"format": "bin",
"source": "far64.asm",
"target": [
{ "output": "far64.bin" }
]
}
]