summaryrefslogtreecommitdiff
path: root/test/insnlbl.asm
blob: 5c1638465971cc50bf478eb3c79286607e91d468 (plain)
1
2
3
4
5
6
7
8
9
10
;
; Test "instruction as label" -- make opcodes legal as labels if
; they are followed by a colon.
;

do:	jmp incbin+2
	dw do, add, sub, incbin
add:	jmp add-2
sub:	jmp do+2
incbin:	dw $-sub