repo.or.cz
/
nasm
/
perl-rewrite.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
compiler.h: add offsetof() and container_of()
[nasm/perl-rewrite.git]
/
test
/
insnlbl.asm
blob
e45637231a858df5b9fae9ca52bce3320c8db59c
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 dq
+
2
9
dw
do
,
add
,
sub
,
dq
10
add:
jmp add
-
2
11
sub:
jmp
do
+
2
12
dq:
dw
$
-
sub