summaryrefslogtreecommitdiff
path: root/test/insnlbl.asm
blob: df81f73baa536a7efe8f514412c9ded4d5d25911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
;Testname=test; Arguments=-fbin -oinsnlbl.bin; Files=.stdout .stderr insnlbl.bin

;
; 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