mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
test: nasm-t -- Add br2003451
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
1cd96a3a0e
commit
f399fa73bb
3 changed files with 27 additions and 0 deletions
15
travis/test/br2003451.asm
Normal file
15
travis/test/br2003451.asm
Normal 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
BIN
travis/test/br2003451.bin.t
Normal file
Binary file not shown.
12
travis/test/br2003451.json
Normal file
12
travis/test/br2003451.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"description": "Test br2003451",
|
||||
"id": "br2003451",
|
||||
"format": "bin",
|
||||
"source": "br2003451.asm",
|
||||
"option": "-Ox",
|
||||
"target": [
|
||||
{ "output": "br2003451.bin" }
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue