repo.or.cz
/
nasm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
test: nasm-t -- Add lnxhello
[nasm.git]
/
test
/
br2003451.asm
blob
74e32345e9b4ba8859b666c36fe34bf1eb1c8b1d
1
;Testname=optimized; Arguments=-Ox -fbin -obr2003451.bin; Files=stdout stderr br2003451.bin
2
3
cpu
8086
4
org
0
5
6
; MOV r/m16,imm16
7
; (imm16 given as number)
8
mov
word
[
bx
],
10h
9
10
; MOV r/m16,imm16
11
; (imm16 given as label)
12
mov
word
[
bx
],
label
13
14
align
10h
15
16
; This label is at address 10h
17
label: