test: nasm-t -- Add testdos test

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-03 19:55:43 +03:00
parent aa08543575
commit 498d36038a
3 changed files with 22 additions and 0 deletions

11
travis/test/testdos.asm Normal file
View File

@ -0,0 +1,11 @@
; This file was known to miscompile with the 16-bit NASM built
; under Borland C++ 3.1, so keep it around for testing...
;
; The proper output looks like:
;
; 00000000 A10300
; 00000003 EA0000FFFF
;
org 0100h
mov ax,[3]
jmp 0FFFFh:0000

BIN
travis/test/testdos.bin.t Normal file

Binary file not shown.

11
travis/test/testdos.json Normal file
View File

@ -0,0 +1,11 @@
[
{
"description": "Test miscompile with 16-bit built",
"id": "testdos",
"format": "bin",
"source": "testdos.asm",
"target": [
{ "output": "testdos.bin" }
]
}
]