nasm/test/insnlbl.asm
Victor van den Elzen 1f1f38bcd0 update tests
2008-07-16 12:20:26 +02:00

13 lines
260 B
NASM

;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 dq+2
dw do, add, sub, dq
add: jmp add-2
sub: jmp do+2
dq: dw $-sub