0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
nasm/travis/test/insnlbl.asm
Cyrill Gorcunov 8958826f3f test: nasm-t -- Add insnlbl test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:46 +03:00

11 lines
178 B
NASM

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