test: nasm-t -- Add br2003451

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-04 23:33:58 +03:00
parent 1cd96a3a0e
commit f399fa73bb
3 changed files with 27 additions and 0 deletions

15
travis/test/br2003451.asm Normal file
View File

@ -0,0 +1,15 @@
cpu 8086
org 0
; MOV r/m16,imm16
; (imm16 given as number)
mov word [bx], 10h
; MOV r/m16,imm16
; (imm16 given as label)
mov word [bx], label
align 10h
; This label is at address 10h
label:

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

Binary file not shown.

View File

@ -0,0 +1,12 @@
[
{
"description": "Test br2003451",
"id": "br2003451",
"format": "bin",
"source": "br2003451.asm",
"option": "-Ox",
"target": [
{ "output": "br2003451.bin" }
]
}
]