aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test/insnlbl.asm
blob: 635e67be525b3974cd92ef2c9c297b622b26291e (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 dq+2
	dw do, add, sub, dq
add:	jmp add-2
sub:	jmp do+2
dq:	dw $-sub