mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
test: nasm-t -- Add br2003451
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
1cd96a3a0e
commit
f399fa73bb
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…
Reference in New Issue
Block a user