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
CHANGES: Document documentation facelift
[nasm.git]
/
test
/
insnlbl.asm
blob
df81f73baa536a7efe8f514412c9ded4d5d25911
1
;Testname=test; Arguments=-fbin -oinsnlbl.bin; Files=.stdout .stderr insnlbl.bin
2
3
;
4
; Test "instruction as label" -- make opcodes legal as labels if
5
; they are followed by a colon.
6
;
7
8
do:
jmp
incbin
+
2
9
dw
do
,
add
,
sub
,
incbin
10
add:
jmp add
-
2
11
sub:
jmp
do
+
2
12
incbin:
dw
$
-
sub