mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
11 lines
178 B
NASM
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
|